イベント・キャンペーン | 温泉

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 jsnc_db_nucleus_member as m, jsnc_db_nucleus_category as c, jsnc_db_nucleus_item as i LEFT JOIN jsnc_db_nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 8 AND i.itime <= "2018-10-18 09:51:31" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)41(,|$)" OR i.icat = 41)) OR (i.icat = 41 AND p.item_id IS NULL)) ORDER BY i.itime DESC LIMIT -3, 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 '-3, 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 jsnc_db_nucleus_member as m, jsnc_db_nucleus_category as c, jsnc_db_nucleus_item as i LEFT JOIN jsnc_db_nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 8 AND i.itime <= "2018-10-18 09:51:31" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)41(,|$)" OR i.icat = 41)) OR (i.icat = 41 AND p.item_id IS NULL)) ORDER BY i.itime DESC LIMIT -2, 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 '-2, 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 jsnc_db_nucleus_member as m, jsnc_db_nucleus_category as c, jsnc_db_nucleus_item as i LEFT JOIN jsnc_db_nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 8 AND i.itime <= "2018-10-18 09:51:31" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)41(,|$)" OR i.icat = 41)) OR (i.icat = 41 AND p.item_id IS NULL)) ORDER BY i.itime DESC LIMIT -2, 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 '-2, 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 jsnc_db_nucleus_member as m, jsnc_db_nucleus_category as c, jsnc_db_nucleus_item as i LEFT JOIN jsnc_db_nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 8 AND i.itime <= "2018-10-18 09:51:31" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)41(,|$)" OR i.icat = 41)) OR (i.icat = 41 AND p.item_id IS NULL)) ORDER BY i.itime DESC LIMIT -1,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 '-1,3' at line 1