dopo aver riempito un form per la registrazione del sito che stò sviluppando al momento di inserire i dati nel db mi comnpare il seguente msg di 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
Il codice è:
Codice PHP:
$sql="INSERT INTO utente (nome,cognome,,email,psw,login) VALUES ('$nome','$cognome','$email',$psw','$login')"; mysql_query($sql,$conn) or die ("errore ".mysql_error()); echo "REGISTRAZIONE AVVENUTA CORRETTAMENTE
";
Non riesco dove sia l'errore nella sintassi che ho usato per sql.
Uso mysql