おもちゃのメニュー
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, concat('',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, nucleus_blog as b WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND b.bnumber = c.cblog AND i.idraft = 0 AND i.iblog in (2) AND i.icat in (2,2) AND i.iblog in (2) AND i.icat in (2,2) and i.inumber IN (296,297,503,504,505,506,508,509,510,511,512,552,553,555,556,576,577,578,579,580,581,582,584,585,590,593,606) AND i.itime <= "2024-04-20 05:03:32" AND i.itime <= "2024-04-20 05:03:32" 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, concat('',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, nucleus_blog as b WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND b.bnumber = c.cblog AND i.idraft = 0 AND i.iblog in (2) AND i.icat in (2,2) AND i.iblog in (2) AND i.icat in (2,2) and i.inumber IN (296,297,503,504,505,506,508,509,510,511,512,552,553,555,556,576,577,578,579,580,581,582,584,585,590,593,606) AND i.itime <= "2024-04-20 05:03:32" AND i.itime <= "2024-04-20 05:03:32" 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, concat('',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, nucleus_blog as b WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND b.bnumber = c.cblog AND i.idraft = 0 AND i.iblog in (2) AND i.icat in (2,2) AND i.iblog in (2) AND i.icat in (2,2) and i.inumber IN (296,297,503,504,505,506,508,509,510,511,512,552,553,555,556,576,577,578,579,580,581,582,584,585,590,593,606) AND i.itime <= "2024-04-20 05:03:32" AND i.itime <= "2024-04-20 05:03:32" 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, concat('',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, nucleus_blog as b WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND b.bnumber = c.cblog AND i.idraft = 0 AND i.iblog in (2) AND i.icat in (2,2) AND i.iblog in (2) AND i.icat in (2,2) and i.inumber IN (296,297,503,504,505,506,508,509,510,511,512,552,553,555,556,576,577,578,579,580,581,582,584,585,590,593,606) AND i.itime <= "2024-04-20 05:03:32" AND i.itime <= "2024-04-20 05:03:32" 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