Salve a tutti.
Ho questa query:
Ma continua a darmi questo messaggio:codice:$quer=mysql_query("INSERT INTO messaggi (mittente,destinatario,oggetto,messaggio,data,ora) VALUES('$username','$destinatario','$oggetto','$messaggio,'$data','$ora')") or die ('Errore query 5: ' . mysql_error());
codice:Errore query 5: 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 '06-07-09','22:30')' at line 2
Quale errore ho fatto?

Rispondi quotando
