l'ho modificato....ma mi esce sempre il messaggio d'errore "inserire email esatta".....
poi vorrei anche ricevere i dati al mio indirizzo email....
vi scrivo anche il codice del form...
Codice PHP:
<?php
    session_start
();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login Form</title>
<link href="loginmodule.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">Registrazione Utente</h1>
<p align="center">
[url="access-denied.php"]Home[/url] | [url="logout.php"]Logout[/url]
</p>
<?php
    
if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >) {
        echo 
'<ul class="err">';
        foreach(
$_SESSION['ERRMSG_ARR'] as $msg) {
            echo 
'[*]',$msg,''
        }
        echo 
'[/list]';
        unset(
$_SESSION['ERRMSG_ARR']);
        

    }
?>
<form id="loginForm" name="loginForm" method="post" action="register-exec.php">
  <table width="300" border="0" align="center" cellpadding="2" cellspacing="0">
    <tr>
      <th>Nome </th>
      <td><input name="fname" type="text" class="textfield" id="fname" /></td>
    </tr>
    <tr>
      <th>Cognome </th>
      <td><input name="lname" type="text" class="textfield" id="lname" /></td>
    </tr>
    <tr>
      <th width="139">Email</th>
      <td width="153"><input name="email" type="text" class="textfield" id="email" /></td>
    </tr>
    <tr>
      <th width="139">Login</th>
      <td width="153"><input name="login" type="text" class="textfield" id="login" /></td>
    </tr>
    <tr>
      <th>Password</th>
      <td><input name="password" type="password" class="textfield" id="password" /></td>
    </tr>
    <tr>
      <th>Conferma Password </th>
      <td><input name="cpassword" type="password" class="textfield" id="cpassword" /></td>
    </tr>
    <tr>
      <td></td>
      <td align="right"><input type="submit" value="Registrati" class="invia" name="send_email" /></td>
    </tr>
  </table>
</form>
 
</body>
</html>
questo è anche il form per l'iscrizione utenti......ma l'errore è sempre questo....