FORM VALIDATION
| Form Validation |
It is always a good practice to validate the form before performing operation on data of the database.
Types of Form Validation
1. Server Side Validation
In PHP web Programming, Server Side is usually done with ASP, PHP scripts.In Server Side Validation,the values of form input is actually sent to server and server checks the correctness of user input values to the form.The form input values must be sent to the server for validation. So, Server side validation is slow process and often more tricky to code and it also increases load of server computer.
Server Side validation is more secure than the client side validation . That is why,we prefer Server side validation rather than client side validation real life application.
2.Client Side Validation
In PHP web Programming, Client side validation is usually done with JavaScript.
In Client validation,the browser doesn't need to connect to the server for validation of the form and form validation is handled by local machine using various client side script.So, the client side validation is fast and the user finds out instantly if they've missed out that required field or if they have input wrong input to the form input field. It decreases the load of server computer and server computer can focus on business logic processing
We keep on updating such tutorials.
For more such tutorials like our Facebook page.
Very nice blog, Thanks for sharing this informative blog..Keep posting Web Design & Development Company in Bangalore | Website Design Company in Bangalore | Web Designing Company in Bangalore | Web Design Companies in Bangalore
ReplyDelete