Ciao ragazzi ho sottoposto questa query in una pagina php solo che mi da errore...
$aggiornamentocredito = "UPDATE utenti SET credito = credito + $pagato WHERE id =" . $pagante ;
Ecco l'errore
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 =' at line 1