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 'where p.products_status = '1' and pd.products_id = p' at line 2

select count(p.products_id) as total from ((( products p, products_description pd, manufacturers m ) left join specials s on p.products_id = s.products_id ) where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '2' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '1'

[XT SQL Error]