Read What Others Are Saying
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 '*) as total from reviews r, reviews_description rd, products p, products_descri' at line 1

select count(distinct *) as total from reviews r, reviews_description rd, products p, products_description pd, products_to_categories p2c where p.products_status = '1' and p.therapist_id = r.therapist_id and r.reviews_id = rd.reviews_id and p.therapist_id = pd.therapist_id and p.therapist_id = p2c.therapist_id and pd.language_id = '1' and rd.languages_id = '1' and (not (p2c.categories_id in (23,50,29,31,34,35,37,40,41,44,71,47,57,66,69,70,74,76,82)))

[TEP STOP]