Lab Exercise Procedure

  1. Find an HTML/PHP form template to use, such as the one here.
  2. Edit and rename form elements to suit your needs. The form element should named descriptively.
  3. Remember to declare variables ($name) in your PHP script to correspond to each form input element.
  4. Test the form for basic functionality and revise it until it looks okay, making sure you are able to get the data from the form into your PHP script.
  5. Develop an algorithm (step-by-step procedure) to solve the problem at hand. For example, if you are calculating batting average, apply necessary logic for that case.
  6. Add in appropriate elements to make your final produce appear attractive and handle errors and other issues.