select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1720,1687,1686,1685,1681,1680,1679,1601,1597,1596,1593,1592,1591,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562,1559,1558,603,594) order by FIELD(pid,0,1720,1687,1686,1685,1681,1680,1679,1601,1597,1596,1593,1592,1591,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562,1559,1558,603,594) 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