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 ')' at line 3' in /var/www/vhosts/ftlavinotheq/htdocs/templates/vinotheque/functions/action_guide_achat.php:22
Stack trace:
#0 /var/www/vhosts/ftlavinotheq/htdocs/templates/vinotheque/functions/action_guide_achat.php(22): PDO->query('SELECT NoArticl...')
#1 /var/www/vhosts/ftlavinotheq/htdocs/templates/vinotheque/functions/common_begin.php(54): include('/var/www/vhosts...')
#2 /var/www/vhosts/ftlavinotheq/htdocs/actions/common.php(32): include('/var/www/vhosts...')
#3 /var/www/vhosts/ftlavinotheq/htdocs/index.php(19): include('/var/www/vhosts...')
#4 {main}
thrown in /var/www/vhosts/ftlavinotheq/htdocs/templates/vinotheque/functions/action_guide_achat.php on line 22