Introduction to PHP Syllabus

Suzi Soroczak - suzka@u.washington.edu

http://students.washington.edu/suzka/classes/PHP&MySQL/Syllabus.html

Administration Links for installing the LAMP Stack

Day 1:

Introduction to PHP (slides)

-- What is PHP?
-- Basic PHP Syntax
>>>> A Simple PHP Script [text version]
-- PHP Global Elements
>>>> Print out PHP Global Elements/PHP.ini [php.ini sample]

Day 2:

Common PHP Script Elements [Chapter 1]
-- Variables
-- Iteration & Conditional Statements
>>>> IterationLab [Try It!, text version]

Working with Forms [Chapters 3-4]
-- Working with PHP and HTML
>>>> Viking Lab [Try It!, text version]
-- Processing Forms, hidden form fields
>>>> HTML Form Processing, [simpleform.html, welcome.php, complexform.html, validating form, welcome2.php]

Day 3:

Week 2 Slides

Working with Arrays (Associative and Multidimensional) [Chapter 3]
>>>> Accessing Arrays & the foreach Loop [Try It!, text version]

Functions and includes [Chapter 5]
>>>> PHP Function & Templating [Try It!, layout.txt (text version), index.php (text version)]

Day 4:

Simple Object Access Protocol (SOAP) [Chapter 33]
>>>> Google API [Try It!, text version]
>>>> SOAP Client/Server [Try It!, SOAP client (text version), SOAP Server (text version)]

File and Directory Handling [Chapters 2 & 22]
>>>> Cookie Demo [Try It!, text version, destroy cookie text]

Day 5:

Week Three Slides

Introduction to SQL [Chapter 10]
>>>> W3School SQL Tutorial

Accessing Databases with PHP [Chapter 10]
>>>> Connecting to MySQL [Try It!, text version Note: can only connect from BCC or the UW]
-- SQL with PHP
>>>> Modifying Database Records [Try It!, text version Note: can only connect from BCC and the UW]

Day 6:

MySQL Admin with PHP [Chapter 11, 12]
>>>>