Need help creating a validation script that will allow only an email address such as [email protected]
Cant seem to find anything like that… is there anywhere I can go to find help with this?
Thank you in advance for your help
Need help creating a validation script that will allow only an email address such as [email protected]
Cant seem to find anything like that… is there anywhere I can go to find help with this?
Thank you in advance for your help
i’m assuming you already have a script of some kind and just want to validate the email address??
[php]
$email = ‘[email protected]’;
// is .EDU present in the string
if(strstr($email, ‘.EDU’))
{
// if it is, do something
}
else
{
// if its not, do something else
}
[/php]
if you need more help, let me know