select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1390,1384,1364,802,792,758,757,754,752,664,647,628,615,585,536,477,446,435,426,420,405,397,387,384,374,347,345,335,180,160,151,137,115,113,103,87,80,65,64,61,57,55,53) order by FIELD(pid,0,1390,1384,1364,802,792,758,757,754,752,664,647,628,615,585,536,477,446,435,426,420,405,397,387,384,374,347,345,335,180,160,151,137,115,113,103,87,80,65,64,61,57,55,53) 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