select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1715,1709,1708,1707,1704,1699,1696,1695,1694,1693,1345,1344,1343,1342,1341,1719,1718,1717,1716,1714,1713,1711,1710,1706,1705,1703,1702,1701,1700,1698,1697,1692,1691,1690,1460,1459,1458,809,476,445,1452,1451) order by FIELD(pid,0,1715,1709,1708,1707,1704,1699,1696,1695,1694,1693,1345,1344,1343,1342,1341,1719,1718,1717,1716,1714,1713,1711,1710,1706,1705,1703,1702,1701,1700,1698,1697,1692,1691,1690,1460,1459,1458,809,476,445,1452,1451) 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