select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1903,1902,1893,1890,1881,1870,1868,1863,1862,1861,1859,1858,1855,1851,1812,1738,1735,1731,1726,1725,614,512,510,506,503,501,497,487,484,469,468,417,208,98,97,93,90,54,30,27,1877,1778,1766,1763,1762,1745,1744,1719,1718,1717,1716,1715,1714,1713,1711,1710,1709,1708,1707,1706,1705,1704,1703,1702,1701,1700,1699,1698,1697,1696,1695,1694,1693,1692,1691,1690,733,673,666,639,624,618,478,427,407,399,393,391,376,349,332,332,299,288,281,266,260,216,205,194,172,165,148,140,139,130,100,82,71,66,34) order by FIELD(pid,0,1903,1902,1893,1890,1881,1870,1868,1863,1862,1861,1859,1858,1855,1851,1812,1738,1735,1731,1726,1725,614,512,510,506,503,501,497,487,484,469,468,417,208,98,97,93,90,54,30,27,1877,1778,1766,1763,1762,1745,1744,1719,1718,1717,1716,1715,1714,1713,1711,1710,1709,1708,1707,1706,1705,1704,1703,1702,1701,1700,1699,1698,1697,1696,1695,1694,1693,1692,1691,1690,733,673,666,639,624,618,478,427,407,399,393,391,376,349,332,332,299,288,281,266,260,216,205,194,172,165,148,140,139,130,100,82,71,66,34) 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