select * from tblproducts where producttype=0 and isactive=1 and pid in (0,813,771,761,731,661,650,604,582,573,569,564,530,526,51,8,821,610,580,552,9) order by FIELD(pid,0,813,771,761,731,661,650,604,582,573,569,564,530,526,51,8,821,610,580,552,9) 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