php - setting up if(!filter_var($email, FILTER_VALIDATE_EMAIL)) -


i running insert form , checking errors. when try put if(!filter_var($email, filter_validate_email)) in if statement, loads blank white page no matter what. not set on server? how if that's case.

here context trying use it:

if(empty($_post['email']) && !filter_var($email, filter_validate_email)) {  

thanks


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -