Computer Science 390 – PHP Chapter 3 Lab
Objective: Learn the material in Chapter 3 Creating Dynamic Web Sites.
· Read Chapter 3 of the PHP text.
· Create your own code examples. You cannot use the examples from the book to meet the requirements of this assignment.
· Create your own web page which uses your own header, footer and content area. Use include files for all 3 sections of the page.
· Include at least two sticky text boxes and a pull-down list in the content area.
· Add a function with a value parameter and no return value to your web page and invoke the function.
· Add a function with a reference parameter and no return value to your web page and invoke the function. Clearly show that the reference parameter was changed by the function on your web page.
· Add a function with a default parameter value and a return value to your web page and invoke the function to produce its result.
· Add a comment block at the top of your programs including your name, the name of the program and a short description of the program’s functionality.
· Add comments to your .php file to clearly illustrate the functionality of each section of your code.
· Zip up your files and upload them to the Moodle link for this assignment.