Posted by Nospam on 07/24/07 23:08
I am getting an undefined index : email on this line
if
(!eregi('^[a-zA-Z]+[a-zA-Z0-9_-]*@([a-zA-Z0-9]+){1}(\.[a-zA-Z0-9]+){1,2}',
stripslashes(trim($_POST['email'])) )) {
$errors[] = '<font color="red">Please provide a valid email
address.</font>';
} else {
$email = mysql_real_escape_string($_POST['email']);
}
[Back to original message]
|