agenti nel codice html ho scritto:

<form method="POST" action="dati.php">

non vedo per cui non dovrebbe essere così