Creating the Template

The first step in developing this application is to create a template system to handle the HTML design. The end result (Figure 12.1) will use tables and some Cascading Style Sheets (CSS).

Figure 12.1. The default layout used by the application in this chapter.

To make header.html

1.
Create a new HTML document in your text editor (Script 12.1).
<!DOCTYPE html PUBLIC "-//W3C//DTD → XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ → xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/ → xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" → content="text/html; charset= → iso-8859-1" ...

Get PHP and MySQL for Dynamic Web Sites: Visual Quickpro Guide, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.