function validate_email($input_email) { $input_email = preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $input_email); $input_email = trim($input_email); $input_email = htmlspecialchars($input_email); $input_email = stripcslashes($input_email); return $input_email; }
PHP | Form Validation Function
PHP Form Validation Function for your site.
Labels:
PHP Learning
Post a Comment
Give your reviews about this blog. Leave your comments. what do you think about this post?
Comments Description is given below:
1) I love to read comments, but do not spam.
2) Like this blog and also tweet its posts.
3) You can use some xHTML tags.
4) All Comments are Do Follow, Please try to use blog professionally.
5) Mention Your Name below the comment.
6) You can also suggest for improvement.
7) Do not forget to subscribe Samee Articles blog.
---------------------------------------
Thanks for visiting QWC.Me.
==========================================
For free guidelines contact me on SEO Expert | Samee Ullah Feroz is online there.
==========================================
Best Regards