Email Validation in PHP
function email_validation($email){
if(ereg(“^[^@ ]+@[^@ ]+.[^@ ]+$”,$email,$trashed)){
return true;
}else{
return false;
}
}
Email Validation in PHP
function email_validation($email){
if(ereg(“^[^@ ]+@[^@ ]+.[^@ ]+$”,$email,$trashed)){
return true;
}else{
return false;
}
}