Erreur dans la requête : 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 t.id=ta.id' at line 1 SELECT count(*) FROM theme_articles ta, theme t WHERE t.id= AND t.id=ta.id