Ka Yee Lam's "Introduction to PHP" Class Examples
Ka Yee's Main Page
This page is to provide access (i.e., links) to Ka Yee's Examples.
-->
Back to Tedd's work
-->
Week 2 -- Hello World
Hello World
Hello World Show Code
Hello World with include
Week 3 -- Web Forms
All in One Web Forms
$_GET Form Example
$_POST Form Example
Simple POST Sticky Form
Week 4 -- Variables Data-types Expressions
Book's Example
Radius Calculation
Perimeter of a Rectangle
Week 5 -- Decisions and Loops
Decision Examples
Loops
BMI Calculator & Personal Weight Guide
Week 6 -- strings
Strings
Strings Revisited
String Replace
More String Stuff (file get contents)
PHP Strings tool
Week 7 -- Arrays
Arrays
Arrays Revisited
$_GLOBAL Array Example
$_SERVER Array Example
PHP array functions demo
Week 8 -- Functions
Functions
Show Arrays Functions