select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1540,748,1546,1525,1524,1499,1497,446,335,1881,1880,1879,1881,1880,1879) order by FIELD(pid,0,1540,748,1546,1525,1524,1499,1497,446,335,1881,1880,1879,1881,1880,1879) 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