select * from tblproducts where producttype=0 and isactive=1 and pid in (0,805,741,603,589,555,554,40,32,1702,1694,1604,686,648,600,516,440,368,312,108,102,575,557,1903,1903,1902,1902,1901,1901,1900,1900,1899,1899,1898,1898,1897,1897,1896,1896,1895,1895,1894,1893,1892,1891,1890,1889,1888,1887,1887,1886,1886,1885,1885,1884,1884,1883,1883,1882,1882,814,594,522,493,480,142,33,639,532) order by FIELD(pid,0,805,741,603,589,555,554,40,32,1702,1694,1604,686,648,600,516,440,368,312,108,102,575,557,1903,1903,1902,1902,1901,1901,1900,1900,1899,1899,1898,1898,1897,1897,1896,1896,1895,1895,1894,1893,1892,1891,1890,1889,1888,1887,1887,1886,1886,1885,1885,1884,1884,1883,1883,1882,1882,814,594,522,493,480,142,33,639,532) 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