Erreur SELECT COUNT(*) AS nbp FROM ezek_sygala.`bateaux_proprios` WHERE ID_bat = AND actif = 1 dans la base de données, table bateaux : 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 actif = 1' at line 1