Code : Tout sélectionner
$testaff[quantite_sess]++;
echo $testaff[quantite_sess];
mysql_query("UPDATE shop_sessions WHERE id_sess='$id_de_session' AND produit_sess=$article SET quantite_sess='$testaff[quantite_sess]'") or die ('<br><br>ERREUR update panier A<br>'. mysql_error());
ERREUR update panier A
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 'WHERE id_sess='0d5a371160883e16cd1a865f2dafe53e' AND produit_se
Merci d'avance