header

Th e header is used to display the header.

<?php
// This page starts the HTML header template

// start output buffering
ob_start();
// initialize a session
session_start();
//check for a $page_title value
if (isset($page_title)) {
	$page_title = "User Registration";
}

echo <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
<head>
<title><?php echo $page_title; ?></title>
<meta Name="Author" Content="Hann So">
<link REL="stylesheet" HREF="../../style.css" TYPE="text/css">
</head>
<div align=center>
<font class="nblue">Registration Example</font>
</div>
<font class="ntext">

<!-- End of Header -->
EOF;
?>

Registration Example | Start | Header | Footer | Connect to a Database | Create a Table | Register | Activation | Login | Logout | Forgot Password | Change Password
© 2008: Hann So
email: hso@voyager.deanza.edu