select * from tblproducts where producttype=0 and isactive=1 and pid in (0,655,643,632,609,550,430,407,376,352,342,341,328,321,280,276,275,273,268,246,230,205,173,172,165,162,154,152,141,140,139,138,135,119,118,117,111,98,97,94,90,9,1871,1868,1868,1867,1866,1865,1865,1864,1863,1862,1861,1860,1859,1858,1857,1855,1854,1853,1852,1851,1846,1845,1844,1843,1842,1833,1826,1824,1819,1812,1811,666,646,605,603,588,568,436,431,393,66,23) order by FIELD(pid,0,655,643,632,609,550,430,407,376,352,342,341,328,321,280,276,275,273,268,246,230,205,173,172,165,162,154,152,141,140,139,138,135,119,118,117,111,98,97,94,90,9,1871,1868,1868,1867,1866,1865,1865,1864,1863,1862,1861,1860,1859,1858,1857,1855,1854,1853,1852,1851,1846,1845,1844,1843,1842,1833,1826,1824,1819,1812,1811,666,646,605,603,588,568,436,431,393,66,23) 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