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

c++ - Linked List error when inserting for the last time -

c++ - Issues with OpenGL referencing when compiling in Ubuntu terminal -

Using Angularjs $http in browser console -