select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1759,1590,1586,1585,1584,1582,1581,1580,1575,1564,1561,1557,1389,1387,1383,1379,1378,1376,1375,1374,1373,1369,1363,1237,1236,1235,1219,1218,1217,762,623,550,487,470,214,31,16,1750,1381,485,473,462,272,271,239,212,114,29) order by FIELD(pid,0,1759,1590,1586,1585,1584,1582,1581,1580,1575,1564,1561,1557,1389,1387,1383,1379,1378,1376,1375,1374,1373,1369,1363,1237,1236,1235,1219,1218,1217,762,623,550,487,470,214,31,16,1750,1381,485,473,462,272,271,239,212,114,29) 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