1064 - 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 '260,239,261,191,121,98,152,154,155,158,209,237,162,165,167,170,171,172,173,174,1' at line 1
select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from products p left join specials s on p.products_id = s.products_id, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '99' and p.products_status = '1' AND p2c.categories_id NOT IN (,260,239,261,191,121,98,152,154,155,158,209,237,162,165,167,170,171,172,173,174,177,178,179,181,182,99,103,100,106,123,236,126,129,131,134,135,136,137,139,141,142,143,145,146,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258) order by p.products_date_added desc limit 12
[TEP STOP]
|