Warning: Undefined array key "id" in
/htdocs/shop.php on line
3
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 'ORDER BY date_produit DESC LIMIT 4' at line 5 in /htdocs/shop.php:8
Stack trace:
#0 /htdocs/shop.php(8): PDO->query('SELECT id, id_c...')
#1 {main}
thrown in
/htdocs/shop.php on line
8