I made a new registration page, but I get this error:
Fatal error: Call to undefined function: filter_var() in c:\appserv\www\reg.php on line 175
This is line 175:
if(!filter_var($email, FILTER_VALIDATE_EMAIL)){$error[]= "E-mail is not valid";}






