raga ho questa query
Codice PHP:
$sql = "UPDATE `tabella` SET 'Zona' = '$zona' ,
SET 'Descrizione' = '$descrizione' ,
SET 'Tipo' = '$tipo' ,
WHERE 'id' = '$codice'";
$q= mysql_query($sql) or die ("Query non valida: " . mysql_error());
quando viene eseguita mi da errore e mi dice
codice:
Query non valida: 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 'SET `Descrizione` = 'sdfasf' , SET `Tipo` = 'af' ,
dove sbaglio??
Grazie in anticipo