select * from tblproducts where producttype=0 and isactive=1 and pid in (0,732,707,690,686,676,510,505,492,491,475,470,462,456,445,418,416,368,356,346,337,330,305,272,264,259,234,232,224,220,188,187,174,149,111,107,102,91,86,1848,1847,1846,1845,1844,1843,1842,1841,1840,1839,1838,1837,1836,1835,1834,1833,1832,1831,1830,1829,1828,1827,1826,1825,1824,1823,1822,1821,1820,1819,1818,1817,1816,1815,1814,1813,1812,1811,1810,1809,826,825,824,812,809,808,806,786,785,783,780,770,763,762,740,730,712,706,696,684,666,655,654,643,639,638,632,623,614,609,577,553,519,515,513,512,507,506,503,502,501,500,497,496,487,486,485,484,481,476,474,473,472,471,469,468,466,463,460,459,457,441,436,431,430,421,417,414,412,402,401,399,394,381,379,377,376,369,367,363,361,358,357,353,352,349,342,341,331,329,328,327,326,323,322,321,317,308,306,304,299,291,290,289,288,282,281,280,279,277,276,275,273,271,268,267,266,265,263,257,255,254,253,252,248,246,239,235,231,228,227,225,222,221,219,218,214,212,211,206,205,190,189,181,173,172,166,165,162,154,152,144,143,141,140,139,138,135,119,118,117,114,112,105,101,98,97,94,93,92,90,89,88,83,71,69,60,58,54,52,48,46,43,36,35,31,30,27,25,23,22,21,20,19,18,17,16,15,1880,626,370,367,230,112,481,466,131,30) order by FIELD(pid,0,732,707,690,686,676,510,505,492,491,475,470,462,456,445,418,416,368,356,346,337,330,305,272,264,259,234,232,224,220,188,187,174,149,111,107,102,91,86,1848,1847,1846,1845,1844,1843,1842,1841,1840,1839,1838,1837,1836,1835,1834,1833,1832,1831,1830,1829,1828,1827,1826,1825,1824,1823,1822,1821,1820,1819,1818,1817,1816,1815,1814,1813,1812,1811,1810,1809,826,825,824,812,809,808,806,786,785,783,780,770,763,762,740,730,712,706,696,684,666,655,654,643,639,638,632,623,614,609,577,553,519,515,513,512,507,506,503,502,501,500,497,496,487,486,485,484,481,476,474,473,472,471,469,468,466,463,460,459,457,441,436,431,430,421,417,414,412,402,401,399,394,381,379,377,376,369,367,363,361,358,357,353,352,349,342,341,331,329,328,327,326,323,322,321,317,308,306,304,299,291,290,289,288,282,281,280,279,277,276,275,273,271,268,267,266,265,263,257,255,254,253,252,248,246,239,235,231,228,227,225,222,221,219,218,214,212,211,206,205,190,189,181,173,172,166,165,162,154,152,144,143,141,140,139,138,135,119,118,117,114,112,105,101,98,97,94,93,92,90,89,88,83,71,69,60,58,54,52,48,46,43,36,35,31,30,27,25,23,22,21,20,19,18,17,16,15,1880,626,370,367,230,112,481,466,131,30) 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