Control Structures

Topics include the following:

  • Creating the HTML Form
  • The If Conditional
  • Validation Functions
  • Using else
  • More Operators
  • Using elseif
  • The Switch Conditional
  • The for Loop
  • Review and Pursue


register.php (Script 6.9)

handle_reg.php (Script 6.8)

PHP for the Web

Publisher: Peachpit Press

Author: Larry Ullman

Year: 2011


In Aliens, Ripley had a class 2 rating in the Power Loader.


Here is my power rating in PHP: