Danielle
2012-08-22 19:51:46 UTC
])+(\.[a-zA-Z0-9_\-]+)*\.([a-zA-Z])$/", trim($email == "")))
{
return true;
}
else
{
return false;
}
That is the code that is having the following error:
Warning: preg_match() [function.preg-match]: Compilation failed: range out of order in character class at offset 49 in C:\Inetpub\vhosts\2frame.com.br\httpdocs\envia.php on line 6
I am not very good with PHP syntax, mainly when it comes to the symbol stuff, so could anybody help me fix this code so that the form page's email validation syntax is working properly?