select * from tblproducts where producttype=0 and isactive=1 and pid in (0,1783,1780,1779,1776,1775,1773,1770,1769,1765,1764,1761,1760,1759,1756,1755,1751,1750,1747,1746,1742,1741,1688,1687,1686,1685,1684,1683,1682,1681,1680,1679,1678,1600,1599,1598,1595,1594,1590,1586,1581,1580,1575,1574,1573,1570,1569,1564,1561,1560,1557,1552,1551,1550,1549,1548,1547,1546,1545,1544,1543,1542,1541,1540,1539,1538,1537,1536,1535,1534,1533,1532,1530,1529,1528,1527,1526,1525,1524,1523,1522,1521,1520,1518,1517,1516,1515,1514,1513,1512,1511,1510,1509,1508,1507,1506,1505,1504,1503,1502,1501,1500,1499,1498,1497,1496,1495,1494,1493,1492,1489,1486,1485,1484,1483,1482,1481,1476,1432,1390,1389,1388,1387,1386,1384,1382,1381,1380,1379,1377,1376,1375,1372,1371,1370,1368,1367,1366,1364,1363,1362,1316,1313,1311,1293,1290,1289,1288,1266,1265,1264,1261,1260,1259,1253,1252,1244,1242,1241,1237,1236,1235,1231,1219,1218,1217,661,631,622,591,573,561,541,1881,1880,1879,1720,1615,1601,1597,1596,1593,1592,1591,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562,1559,1558,1431,1430,1429,1428,1427,1426,1425,1424,1423,1422,1421,1420,1419,1418,1417,1416,1415,1414,1413,1412,1411,1410,1409,1408,1407,1406,1405,1404,1403,1402,1401,1400,1399,1398,1397,1396,1395,1394,1393,1392,1391,1361,1272,1271,1270,1720,1615,1601,1597,1596,1593,1592,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562) order by FIELD(pid,0,1783,1780,1779,1776,1775,1773,1770,1769,1765,1764,1761,1760,1759,1756,1755,1751,1750,1747,1746,1742,1741,1688,1687,1686,1685,1684,1683,1682,1681,1680,1679,1678,1600,1599,1598,1595,1594,1590,1586,1581,1580,1575,1574,1573,1570,1569,1564,1561,1560,1557,1552,1551,1550,1549,1548,1547,1546,1545,1544,1543,1542,1541,1540,1539,1538,1537,1536,1535,1534,1533,1532,1530,1529,1528,1527,1526,1525,1524,1523,1522,1521,1520,1518,1517,1516,1515,1514,1513,1512,1511,1510,1509,1508,1507,1506,1505,1504,1503,1502,1501,1500,1499,1498,1497,1496,1495,1494,1493,1492,1489,1486,1485,1484,1483,1482,1481,1476,1432,1390,1389,1388,1387,1386,1384,1382,1381,1380,1379,1377,1376,1375,1372,1371,1370,1368,1367,1366,1364,1363,1362,1316,1313,1311,1293,1290,1289,1288,1266,1265,1264,1261,1260,1259,1253,1252,1244,1242,1241,1237,1236,1235,1231,1219,1218,1217,661,631,622,591,573,561,541,1881,1880,1879,1720,1615,1601,1597,1596,1593,1592,1591,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562,1559,1558,1431,1430,1429,1428,1427,1426,1425,1424,1423,1422,1421,1420,1419,1418,1417,1416,1415,1414,1413,1412,1411,1410,1409,1408,1407,1406,1405,1404,1403,1402,1401,1400,1399,1398,1397,1396,1395,1394,1393,1392,1391,1361,1272,1271,1270,1720,1615,1601,1597,1596,1593,1592,1588,1587,1583,1577,1576,1572,1571,1568,1567,1566,1563,1562) 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