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 'p.products_status = '1' and p.products_id = r.products_id and r.reviews_id = rd.' at line 1
select count(*) as total from shop_reviews r, shop_reviews_description rd, shop_products p, shop_products_description pd where p.shops_id = '1' p.products_status = '1' and p.products_id = r.products_id and r.reviews_id = rd.reviews_id and p.products_id = pd.products_id and pd.language_id = '2' and rd.languages_id = '2'