select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1720,1677,1676,1675,1674,1617,1616,1615,1614,1613,1612,1611,1610,1609,1601,1597,1596,1593,1592,1591,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562,1559,1558,1381,1377,1372,1371,1367,825,786,740,706,652,644,516,488,442,379,319,304,289,267,258,238,202,182,169,166,62,60) order by FIELD(pid,0,1720,1677,1676,1675,1674,1617,1616,1615,1614,1613,1612,1611,1610,1609,1601,1597,1596,1593,1592,1591,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562,1559,1558,1381,1377,1372,1371,1367,825,786,740,706,652,644,516,488,442,379,319,304,289,267,258,238,202,182,169,166,62,60) 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