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

Create a new HTML document in your text editor (Script 12.1).
<!DOCTYPE html PUBLIC "-//W3C//DTD → XHTML 1.0 Transitional//EN" " → xhtml1-transitional.dtd"> <html xmlns=" → 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.