Erreur SQL !
SELECT count(*) FROM `catproduit`,`produit` where `catproduit`.`idprod`=`produit`.`id` and `catproduit`.`idcat`= and `produit`.`etat`!='1000000'
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 `produit`.`etat`!='1000000'' at line 1