Warning: Trying to access array offset on false in /home/transferaj/www/modele_lettre.php on line 39
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 'ORDER BY noImage ASC' at line 1 in /home/transferaj/www/functions/fonctions.php:161
Stack trace:
#0 /home/transferaj/www/functions/fonctions.php(161): PDO->query('SELECT * FROM p...')
#1 /home/transferaj/www/modele_lettre.php(39): getPhotosForArticle(Object(PDO), NULL)
#2 {main}
thrown in /home/transferaj/www/functions/fonctions.php on line 161