Cari Amici,
quando incorporo questo codice nella mia pagina html, smette di funzionare. Ho l'impressione che sbaglio a chiudere il tag di /form. Potete aiutarmi?

Codice PHP:
<table width="100%" border="0" cellspacing="0" bgcolor="">
<?php
include("config.inc.php");
if (isset(
$_POST['utente']))
{
   
$utente $_POST['utente'];
   
$pass md5($_POST['pass']);
           
$verif_query=sprintf("SELECT * FROM utente1 WHERE ut_utente='$utente' AND ut_pass='$pass'");
           
$verif mysql_query($verif_query$db) or die(mysql_error());
           
$rigo_verif mysql_fetch_assoc($verif);
           
$utente mysql_num_rows($verif);

                 if (
$rigo_verif['ut_attivo']=='NO')
                 {
                 
header("Location:area_prova.php?errore=intru");
                 }
                 else
                 if (
$utente)
                 {

                 
session_start();

                 
session_register("autenticazione");

                 
$_SESSION['Accesso'] = $rigo_verif['ut_accesso'];

                 
$_SESSION['nome'] = $rigo_verif['ut_nome'];

                 
$_SESSION['cognome'] = $rigo_verif['ut_cognome'];

                 
$_SESSION['utente'] = $rigo_verif['ut_utente'];

                 
$_SESSION['pass'] = $rigo_verif['ut_pass'];

                 
header("Location:ingresso_prova.php");
                 }
                 else
                 {

                 
header("Location:area_prova.php?errore=utente");
                 }
}
?>
<form action="" method="post" name="">
<div align="center">
<table width="100%" border="0" cellspacing="0" bgcolor="">
<tr>
<td>
   <table border="0" width="100%" bgcolor="" cellspacing="0" cellpadding="0" >

   <tr>
   <td colspan="2" height="2"></td>
   </tr>

   <tr>
   <td colspan="2" height="10">
   <?
    
include("errori.inc.php");
   
?>
   </td>
   </tr>
   <tr>
   <td colspan="2" height="1"></td>
   </tr>
   <tr>
   <td>[b]Nome Utente[/b]</td>
   <td><input name="utente" type="text" size="23" tabindex="1"></td>
   </tr>
   <tr>
   <td>[b]Password[/b]</td>
   <td><input name="pass" type="password" size="23" tabindex="2"></td>
   </tr>
   <tr>
   <td colspan="2" height="20"></td>
   </tr>
   <tr>
   <td colspan="2"><p align="center"><input type="submit" name="Submit" value="Entra" tabindex="3"></td>
   </tr>
   <tr>
   <td colspan="2" height="20"></td>
   </tr>
   </table>
</td>
</tr>
</table>
</center>
</div>
</form>