PHP links:

All the PHP information you could ever want.
Slightly more specific.
PHP reference manual.
HTML Tutorial
About this page

Simple echo line:

PHP says: Hello World!

PHP's version of "include":


This "header" included from header.php

HTML forms linked to a php script:

Your name:

Your age:

Male
Female

Example of for loop: 100 foos


foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo

Example of fopen(), fread(), and fwrite() to create a simple counter

Visited 83 times.

Using tables to draw rectangles

Option 1

Option 2

Option 3

Download the PHP source here.