I have a form with an email field using html and php.
I would like to make sure that the user enters an email.
On the HTML side, I put :
type = "email"
Is it necessary to add a (filter_var($email, FILTER_VALIDATE_EMAIL)
on the PHP side?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I have a form with an email field using html and php.
I would like to make sure that the user enters an email.
On the HTML side, I put :
type = "email"
Is it necessary to add a (filter_var($email, FILTER_VALIDATE_EMAIL)
on the PHP side?