Salve a tutti,
la query che ho postato sotto mi da il seguente errore e non capisco il perchè!
Error: 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 '1' at line 1
Codice PHP:
$sql=mysql_query("DELETE FROM utenti WHERE nome='$POST_[nome]' and cognome='$_POST[cognome]' and username='$_POST[username]' and password='$_POST[password]'"); if (!mysql_query($sql)) { die('Error: ' . mysql_error()); }