Query: SELECT COUNT(*) as number FROM news LEFT JOIN committees ON (committees.id=news.committee) LEFT JOIN sponsors ON (sponsors.id=news.sponsor) LEFT JOIN users ON (users.id=news.user) WHERE committees.id=

Error: 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