beh, aggiungi un or die("errore nella query: ".mysql_error()); dopo la query per sapere cos'è che non va..
Regole del Forum