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 11.1) will use tables and some Cascading Style Sheets (CSS).

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

To make header.html:

1.
Create a new HTML document in your text editor (Script 11.1).
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/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 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.