= strlen($email) - 5 || $j <= strlen($email) - 3)) { $validite=true; $i=$j=strlen($email); } if (isset($validite)) { @mysql_connect("localhost", "serioushack", "motdepassemysql") or die("Impossible de se connecter à la base de données"); @mysql_select_db("mailing_list") or die("Table inexistante"); $nombre = mysql_query("INSERT INTO list values('$email',$anonyme);"); mysql_close(); header("Location: ./liste.php"); } else header("Location: ./"); ?>