Jump to content

Archived

This topic is now archived and is closed to further replies.

xux

I need help on validating email entries

Recommended Posts

Hi everybody,
                I want to check whether email entries are entered properly.pls my regex expresion  have been saying not valid even when i entered my email addy.The regex am using is"if(!eregi ('^[a-zA-Z0-9_\-\.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$',$email))
{
  echo'That is not a valid email address.';
  exit;
}
"
Please I need help.Thanks

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.