Week 1
December 4, 2007 – 12:05 amSession 1: Make sure that you can login to your OLS account. Setup a site definition in Dreamweaver or use an FTP client to complete the php tutorial at: http://www.php.net/tut.php from “Your first PHP-enabled page” to “Dealing with forms”.
Recommended Text: “Beginning PHP5″ Published by WROX (Available at the bookstore)
Reading assignment:
1. Please read everything under variables
http://us2.php.net/manual/en/language.variables.php
2. Please read the following under Operators:
Arithmetic, Assignment, Comparison, Logical and String
http://us2.php.net/manual/en/language.operators.php
Session 2: Create an online guestbook in PHP on your student website. All PHP documents must be contained in your “public_html” directory or sub-directories within it on your OLS account. The guestbook form must have at least 10 fields (First Name, Last Name, Address, etc.) and display the results to the user on a following page. Use text fields, check boxes, radio buttons, select lists and one textarea.
Download: PHP Problem Set 1
1. All PHP problems within a “set” are due by the beginning of class on the next day that the class meets.
2. Answers must be available via links on the OLS or comparable hosting and copied to the drop off drive.
3. Solutions to each problem set will be given during demonstrations on the day that they are due.
4. Grades will be collected during the solution demonstrations by an assigned classmate.
One Response to “Week 1”
For a simple list of the Operators listed in the reading assignment, look here:
http://www.w3schools.com/PHP/php_operators.asp
By Annette Johnson on Oct 7, 2009