May 2003
Intermediate to advanced
592 pages
14h 28m
English
The home page for the site, called index.php, will be a model for the other pages on the public side. It will require the configuration file (for error management) and the header and footer files to create the HTML design. The page will also welcome the user by name, assuming the user is logged in.
1. | Create a new document in your text editor (Script 12.5).
<?php # Script 12.5 - index.php |
2. | Include the configuration file, set the page title, and include the HTML header.
require_once ('includes/config.inc');
$page_title = 'PHP and MySQL for Dynamic Web Sites: Visual QuickStart Guide';
include_once ('includes/header.html');
|
Read now
Unlock full access