select * from tblproducts where producttype=0 and isactive=1 and pid in (0,793,718,716,669,661,657,573,196,14,816,814,805,737,733,717,715,679,666,665,654,643,631,626,623,622,553,499,495,494,493,480,465,458,434,422,413,411,373,371,354,340,333,320,314,298,270,261,260,245,242,226,217,216,215,196,186,177,171,170,158,157,142,76,47,44,33,768) order by FIELD(pid,0,793,718,716,669,661,657,573,196,14,816,814,805,737,733,717,715,679,666,665,654,643,631,626,623,622,553,499,495,494,493,480,465,458,434,422,413,411,373,371,354,340,333,320,314,298,270,261,260,245,242,226,217,216,215,196,186,177,171,170,158,157,142,76,47,44,33,768) 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