validate given email id in php using filter option
by Ramya[ Edit ] 2012-08-13 17:02:03
validate given email id in php using filter option:
You can validate the email id from user input using PHP Filter option.
if(!filter_var("test@hiox.com", FILTER_VALIDATE_EMAIL))
{
echo("Given Email-id is Incorrect");
}
else
{
echo("Given Email-id is Correct");
}
?>