PHP is an open source, serverside programming language designed to complement HTML and allow the creation of dynamic websites.
This workshop covers the basics of computer programming, programming in a web environment, and programming in the PHP language to write dynamic webpages.
Writing static webpages in HTML and CSS (or a sound knowledge of HTML 4.01 plus a basic knowledge of CSS 2.0) is a prerequisite for this course.
Competence in the use of web browsers, text editors, and the computer's operating system is assumed.
Tutor: Deb Shepherd
Introduction
to dynamic web pages, programming, and the PHP language
Getting started
PHP syntax, comments and statements
programming with preset functions
PHP basics
writing programs
types, expressions, operators, constants, variables
using an HTML <form> to pass variables around
calculations
arrays
PHP conditionals
making choices
the IF statement
the SWITCH statement
Automatically generating HTML from PHP
PHP loops
the FOR loop
nesting FOR loops
the WHILE loop
PHP functions
PHP and databases
interacting with web based (SQL) databases
What next?