select * from tblproducts where producttype=0 and isactive=1 and pid in (0,765,727,713,708,680,619,618,612,427,408,407,400,383,332,309,223,208,207,198,194,193,124,116,100,84,82,66,34,673,627,625,624,393,391,348,1763,1759,1758,1755,1751,1750,1748,1747,1746,1745,1744,1743,1741,653,1786,1785,1784,1783,1782,1781,1780,1779,1778,1777,1776,1775,1773,1772,1771,1770,1769,1768,1767,1766,1766,1765,1740,1739,1738,1737,1736,1735,1734,1733,1732,1731,1730,1729,1728,1727,1726,1725,1724,1723,1688,1687,1686,1685,1684,1683,1682,1681,1680,1679,1678,1677,1676,1675,1674,1617,1616,1615,1614,1613,1612,1611,1610,1609,1365,1231,581,170) order by FIELD(pid,0,765,727,713,708,680,619,618,612,427,408,407,400,383,332,309,223,208,207,198,194,193,124,116,100,84,82,66,34,673,627,625,624,393,391,348,1763,1759,1758,1755,1751,1750,1748,1747,1746,1745,1744,1743,1741,653,1786,1785,1784,1783,1782,1781,1780,1779,1778,1777,1776,1775,1773,1772,1771,1770,1769,1768,1767,1766,1766,1765,1740,1739,1738,1737,1736,1735,1734,1733,1732,1731,1730,1729,1728,1727,1726,1725,1724,1723,1688,1687,1686,1685,1684,1683,1682,1681,1680,1679,1678,1677,1676,1675,1674,1617,1616,1615,1614,1613,1612,1611,1610,1609,1365,1231,581,170) 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