Tuesday, 26 December 2017

Week 10 in the class (22 October 2017) - Wednesday

In today lab class, we still continue to the PHP lesson. In this time, madam ask us to create a PHP form validation example. We refer to the code which from W3school and edit it by using Adobe Dreaweaver CS6.

Steps to create a basic secure PHP form such as:
  1. Create a simple form.
  2. Add validation to the form.
  3. Make input fields required and create error messages if needed.
  4. Validate the input data.
  5. Prevent the form from emptying all the input fields when the user submits the form.

PHP Validation Form

No comments:

Post a Comment

Week 13 in the class (13 December 2017) - Wednesday Today madam change the lab class lesson to the lab quiz lesson. This is the second lab...