select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1881,1880,1879,1855,1854,1853,1852,1851,1850,1849,1822,1821,1812,1811,666,638,632,609,550,526,264,189,101,93,1871,1865,1864,1863,1862,1861,1860,1859,1858,1857) order by FIELD(pid,0,1881,1880,1879,1855,1854,1853,1852,1851,1850,1849,1822,1821,1812,1811,666,638,632,609,550,526,264,189,101,93,1871,1865,1864,1863,1862,1861,1860,1859,1858,1857) 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