ragazzi, ho fatto il sito in locale e fnziona alla grande, lo sposto sul server in remoto e le query mi danno 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 '' at line 1
AAAARG!
ecco la query
Codice PHP:
$query = "update aree set area='$area', sopratitolo='$sopratitolo', corpo='$editor' $primo $secondo $terzo where ID_area=$ID_area";
mysql_query($query) or die (mysql_error());
echo "[b]Aggiornamento effettuato con successo ...[/b]
";
echo "attendere prego ... <meta http-equiv=\"refresh\" content=\"3;URL=index.php\">";