bo!!!! se aggiundo al primo if
questo:
codice:if(($result = safe_query($query))==FALSE){ //nessun risultato, utente non trovato o non presente del db $errore = 2; header("location: index.php?errore=" .$errore); //oppure header("location: index.php?errore='$errore'); //oppure header("location: index.php?errore=$errore); }