Prodotti in offerta

 
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 ')' at line 1

select count(DISTINCT p.products_id) as total from products p, products_description pd, specials s , products_to_categories ptc where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and p.products_id = ptc.products_id AND pd.language_id = '4' and s.status = '1' and ((s.customers_id = '0' and s.customers_groups_id = '0') or (s.customers_id = '0' and s.customers_groups_id = '') or (s.customers_id = '0' and s.customers_groups_id = '0')) AND (ptc.categories_id = )

[TEP STOP]