One of the techniques used with PHP is to have a page with different forms call itself. A hidden field is used to keep track of what form is being used, and a PHP switch statement is used to determine what function to run.
This is part of a multi-part workshop showing how use PHP to code 2D arrays, how to use information from a form, as well as how to set up session variables.
The workshop is part of the online Web Programming course (COMP2145) offered by the Computer Careers Program at South Central College, North Mankato, MN 56003 USA. http://cc.SouthCentral.edu
It was written by Peter K. Johnson. http://peterKJohnson.com
Link to this comment:
All Comments (0)