Fatal error: Uncaught exception 'PDOException' with message '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 ''Y-m-d') OR dateFin_actu = '0000-00-00') ORDER BY idOrdre_actu DESC' at line 4' in /home/guidedesf/www/actualite.php:141 Stack trace: #0 /home/guidedesf/www/actualite.php(141): PDO->query('SELECT * from a...') #1 {main} thrown in /home/guidedesf/www/actualite.php on line 141