mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 and i.inumber=0 AND i.itime <= "2022-06-30 13:59:17" AND i.itime <= "2022-06-30 13:59:17" ORDER BY i.itime DESC LIMIT -5, 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-5, 1' at line 1

    mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 and i.inumber=0 AND i.itime <= "2022-06-30 13:59:17" AND i.itime <= "2022-06-30 13:59:17" ORDER BY i.itime DESC LIMIT -4, 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-4, 1' at line 1

    mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 and i.inumber=0 AND i.itime <= "2022-06-30 13:59:17" AND i.itime <= "2022-06-30 13:59:17" ORDER BY i.itime DESC LIMIT -4, 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-4, 1' at line 1

    mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 and i.inumber=0 AND i.itime <= "2022-06-30 13:59:17" AND i.itime <= "2022-06-30 13:59:17" ORDER BY i.itime DESC LIMIT -3,3: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-3,3' at line 1