select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1873,1848,1847,1846,1845,1844,1843,1842,1841,1840,1812,1763,1762,1758,1757,1752,1748,1754,1753,1749,1864,631,507,475,469,460,436,430,376,352,342,341,328,321,280,275,273,268,246,230,205,173,172,165,162,154,152,141,140,139,138,135,119,118,117,114,111,98,97,94) order by FIELD(pid,0,1873,1848,1847,1846,1845,1844,1843,1842,1841,1840,1812,1763,1762,1758,1757,1752,1748,1754,1753,1749,1864,631,507,475,469,460,436,430,376,352,342,341,328,321,280,275,273,268,246,230,205,173,172,165,162,154,152,141,140,139,138,135,119,118,117,114,111,98,97,94) 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