select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1716,1705,1699,1383,1378,1372,1367,740,706,688,473,467,442,319,267,258,182,1382,505,470,462,337,272,232,224,188,111,107,666,654,639,623,575,557,553,526,631,622,594,421) order by FIELD(pid,0,1716,1705,1699,1383,1378,1372,1367,740,706,688,473,467,442,319,267,258,182,1382,505,470,462,337,272,232,224,188,111,107,666,654,639,623,575,557,553,526,631,622,594,421) 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