Jump to content

I need help on validating email entries


xux

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
Link to comment
https://forums.phpfreaks.com/topic/18917-i-need-help-on-validating-email-entries/
Share on other sites

Archived

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

×
×
  • Create New...

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.