> $query1 = "UPDATE news,autori SET > news.titolo='$titolo', news.testo='$testo', > news.data='$data', news.nome='$nome', > autori.mail='$mail' WHERE news.nome = > autori.nome AND id='$id'"; You can't do an update across tables the last time I checked. Even if it's possible in newer versions, using mysql_error() after your query will tell you what the error is. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php