select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1809,1706,1701,1700,1691,1690,1608,1607,1606,1605,1604,1603,1602,1357,1356,1355,1354,1353,1352,1351,1224,1223,1222,1221,1871,1870,1860,1856,1852,1850,1826,1825,1814,1737,1734,1733,1732,1729,1728,1727,1724,1723,1719,1718,1717,1716,1715,1714,1713,1711,1710,1709,1708,1707,1705,1704,1703,1702,1699,1698,1697,1696,1695,1694,1693,1692,1460,1459,1458,1365,1363,1361,1012,781,666,639,614,513,507,501,485,476,469,460,445,429,416,367,271,214,120,127,127,1814,1361,1012,469,429,381,132,35) order by FIELD(pid,0,1809,1706,1701,1700,1691,1690,1608,1607,1606,1605,1604,1603,1602,1357,1356,1355,1354,1353,1352,1351,1224,1223,1222,1221,1871,1870,1860,1856,1852,1850,1826,1825,1814,1737,1734,1733,1732,1729,1728,1727,1724,1723,1719,1718,1717,1716,1715,1714,1713,1711,1710,1709,1708,1707,1705,1704,1703,1702,1699,1698,1697,1696,1695,1694,1693,1692,1460,1459,1458,1365,1363,1361,1012,781,666,639,614,513,507,501,485,476,469,460,445,429,416,367,271,214,120,127,127,1814,1361,1012,469,429,381,132,35) 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