select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1935,1934,1933,1932,1931,1930,1929,1928,1927,1926,1925,1924,1923,1922,1921,1920,1919,1918,1915,1380,821,813,786,771,661,650,610,604,582,580,573,569,564,552,530,508,504,490,439,428,425,415,410,409,389,385,145,51,50,8) order by FIELD(pid,0,1935,1934,1933,1932,1931,1930,1929,1928,1927,1926,1925,1924,1923,1922,1921,1920,1919,1918,1915,1380,821,813,786,771,661,650,610,604,582,580,573,569,564,552,530,508,504,490,439,428,425,415,410,409,389,385,145,51,50,8) 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