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 ') and ( pd.products_name like '%Sweep/brush-train%' or pd.products_description' at line 1
[select count(*) as total from wedding2b_products p,wedding2b_products_description pd where p.products_id=pd.products_id and p.products_status=1 and pd.language_id =1 and p.master_categories_id in() and ( pd.products_name like '%Sweep/brush-train%' or pd.products_description like '%Sweep/brush-train%' )]