Here is an example of how I use includes in my pages. The code below is the raw code for my home page at
www.resalebroker.com/
[PHP]<?php include ('includes/doctype.inc'); ?>
<head>
<title>Arizona Real Estate - Arizona Homes For Sale</title>
<meta name="description" content="Looking for Arizona Real Estate resources to help you make a more educated buying and selling decision? ResaleBroker.com is packed with helpful information on buying and selling Arizona Real Estate."/>
<meta name="keywords" content="Arizona real estate, Arizona Homes For Sale"/>
<?php include ('includes/charset.inc'); ?>
<?php include ('includes/az-stylesheet.inc'); ?>
</head>
<body>
<div id="color"><div id="container"><div id="content">
<?php include ('content/arizona.inc'); ?>
</div>
<div id="footer"><br />
<?php include ('includes/footer.inc'); ?>
</div><?php include ('includes/w3c.inc'); ?></div>
<div id="header">
<?php include ('includes/header.inc'); ?>
<div id="navlist">
<?php include ('includes/navlist.inc'); ?>
</div></div></div>
<?php include ('includes/copyright.inc'); ?>
</body>
</html>[/PHP]
Most, if not all, of the pages within that site share this same code. For each page all I have to do is change the content file being called by the include and I'm done. -Jeff Blackwell
<head>
<STYLE type="text/css">
H1{ font-size: 14pt}
</STYLE>
</head> -Jeff Blackwell