Salve, ho seguito la guida che c'è nel sito per la registrazione utenti.
per creare le tabelle ho fatto una pagina install.php con il seguente codice:

Codice PHP:
<?PHP include("include/config.php");  $query"CREATE TABLE sessioni (    uid CHAR(32) NOT NULL,    user_id INT UNSIGNED NOT NULL,    creation_date INT UNSIGNED NOT NULL,    INDEX(uid) )"$result mysql_query($query);   if ($result == 1){echo "tabelle sessioni create.";} else{echo "errore creazione tabelle sessioni
"
;}  $query2 "CREATE TABLE utenti (    id INT UNSIGNED NOT NULL AUTO_INCREMENT,    name VARCHAR(30) NOT NULL,    surname VARCHAR(30) NOT NULL,    username VARCHAR(30) NOT NULL,    password CHAR(32) NOT NULL,    PRIMARY KEY(id),    INDEX(username, password) )"$result2 mysql_query($query2);   if ($result2 == 1){echo "tabella utenti creata.";} else{echo "errore creazione tabelle utenti";} ?>
ora le tabelle sono state create correttamente ma quando vado per la registrazione e immetto tutti i dai: nome, cognome, indirizzo, occupazione, email, user, e pass; mi da il seguente errore:

Registrazione Fallita a causa di un errore interno.

come mai?

ditemi se vi serve qualcosa per potermi aiutare.

Grazie anticipatamente!