Codice PHP:
$MySql1 = "INSERT INTO `Messaggi` (`ID` , `Mittente` , `Destinatario` , `Data_Spedizione` , `Letto` , `Testo` ) ";
$MySql1 .= "VALUES (";
$MySql1 .= "''";
$MySql1 .= ", 'Database Naruto Story'";
$MySql1 .= ", '".$Admin."'";
$MySql1 .= ", NOW()";
$MySql1 .= ", '0'";
$MySql1 .= ", 'Prova l'prova";
$MySql1 .= ")";
$Result1 = mysql_query($MySql1)or die(mysql_error());
Questo è l'errore ò.ò
codice:
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 'prova)' at line 1
Ho anche provato a mettere lo slash \ davanti all'apice, ma nulla stesso errore ò.ò