select * from tblproducts where producttype=0 and isactive=1 and pid in (0,773,718,716,499,816,793,743,717,715,669,665,657,602,583,422,413,411,340,333,270,226,47,1881,1880,1879,1389,669,657,405,404,340) order by FIELD(pid,0,773,718,716,499,816,793,743,717,715,669,665,657,602,583,422,413,411,340,333,270,226,47,1881,1880,1879,1389,669,657,405,404,340) limit -16,16
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 '-16,16' at line 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 '-16,16' at line 1