select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1719,1718,1717,1716,1714,1713,1711,1710,1705,1703,1697,1340,1339,1338,1337,1336,1335,1715,1709,1708,1707,1706,1704,1702,1701,1700,1699,1698,1696,1695,1694,1693,1692,1691,1690) order by FIELD(pid,0,1719,1718,1717,1716,1714,1713,1711,1710,1705,1703,1697,1340,1339,1338,1337,1336,1335,1715,1709,1708,1707,1706,1704,1702,1701,1700,1699,1698,1696,1695,1694,1693,1692,1691,1690) 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