anuj_web
New Member
- Messages
- 145
- Reaction score
- 0
- Points
- 0
Hi,
I want to validate data types of info entered by the user in an HTML form...
I want to know whether it is better to validate in that form itself(using php)
or validate in the PHP file to which the values are being sent
In the fomer case,Whenever i click submit...then everytime the file will send the values to itself then how will i transfer the control to the second PHP file ??
OK will a flag work here ,but how can I call a submit action of a form outside ??
I want to validate data types of info entered by the user in an HTML form...
I want to know whether it is better to validate in that form itself(using php)
or validate in the PHP file to which the values are being sent
In the fomer case,Whenever i click submit...then everytime the file will send the values to itself then how will i transfer the control to the second PHP file ??
OK will a flag work here ,but how can I call a submit action of a form outside ??
Last edited: