Codice PHP:
$richiesta="INSERT INTO registrazione (nome, cognome) VALUES ('" $_POST['nome'] . "', '" $_POST['cognome'] . "')"
Scrivila così