This video is third part of the video for forom validation series of php tutorial in hindi . In this video we will learn how to validate password , email and contact number.
since php is server side scripting language so when we submitted the form form value vanished so i have just putted some extra effort to show you that how to not lost input data after submitted the form in form validation tutorial in hindi.
I did not used regular expression to validate email . Instead of that i used a function called filter_var() which works only in php 5 or abover version of PHP.
How to validate email with filter_var() function
How to validate phone number for interger with filter_var() function...
String function tutorial link : • PHP tutorial in hindi part -7-- Important...