select * from tblproducts where producttype=0 and isactive=1 and pid in (0,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,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