take
http://business.thespear.net as an example.
see the top part till the horizontal rule? then theres text and then another horizontal rule for the footer
header.php has all the nitty gritty stuff and the top part... stuff that will be on all pages..
index.php only contains the text i want to show it there also at top of file it includes header and at the bottom it includes the footer
the footer contains info that will be on all pages...
so any page is just like
[code:1:bd62072a35]<?php
include('header.php');
print "Welcome to my site!";
include("footer.php');[/code:1:bd62072a35]
you can make it more advanced by having this in your header.php :
[code:1:bd62072a35]<?php
echo '<title>theSpear :: $title</title>';
?>[/code:1:bd62072a35]
and having this in your index.php
[code:1:bd62072a35]<?php
$title = "Home";
include('header.php');
print "Welcome to my site!";
include("footer.php');[/code:1:bd62072a35]
you understand?