SELECT * FROM 6f3h3 where WHERE `matiere` LIKE :matiere and masque=0 Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 'WHERE `matiere` LIKE '311' and masque=0' at line 1 in /www/wwwroot/classi.tn/class/classe.php:305
Stack trace:
#0 /www/wwwroot/classi.tn/class/classe.php(305): PDOStatement->execute()
#1 /www/wwwroot/classi.tn/matieres.php(104): classe->NbStatutClasse()
#2 /www/wwwroot/classi.tn/classe.php(419): include('/www/wwwroot/cl...')
#3 {main}
thrown in /www/wwwroot/classi.tn/class/classe.php on line 305