select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1296,1295,1294,1287,1286,1285,1284,1283,1282,1281,1280,1279,1278,1277,1276,1275,1229,1228,1227,1226,1225,1012,1345,1344,1343,1342,1341) order by FIELD(pid,0,1296,1295,1294,1287,1286,1285,1284,1283,1282,1281,1280,1279,1278,1277,1276,1275,1229,1228,1227,1226,1225,1012,1345,1344,1343,1342,1341) 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