select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1427,1422,1410,1405,1401,1207,765,713,612,309,116,84) order by FIELD(pid,0,1427,1422,1410,1405,1401,1207,765,713,612,309,116,84) 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