ho uno script di inserimento dati in un db:
codice:
$visitetot = $visitetot + 1;
$query = "INSERT INTO $cliente (ID, visitetot, intgen, ultvis, intultvis) VALUES (NULL, '$visitetot', '$intgen', '$ultvis', '$intultvis')";
$risultato = mysql_query ($query);
ieri funzionava benissimo..... oggi mi esce questo 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 '(ID, visitetot, intgen, ultvis, intultvis) VALUES (NULL, '1', '
Cosa vuol dire?????????