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 MariaDB server version for the right syntax to use near 'Where nb_passage='Passage_1' And nom_course=''' at line 2 in /home/runchrono/www/dag/4R_GET_classement_tab.php:18 Stack trace: #0 /home/runchrono/www/dag/4R_GET_classement_tab.php(18): PDO->query('select id_dag,...') #1 {main} thrown in /home/runchrono/www/dag/4R_GET_classement_tab.php on line 18