The easiest way to do this is using PHP includes...
So every page on your website will look a little like this:
Code:
<?php
include("top.php");
?>
<!-- Changeable content \/ -->
This is the main content this can change for each page etc.
<!-- End of changeable content -->
<?php
include("footer.php");
?>
All you have to do then is put all the links etc to all the different pages inside the documents named in the the pages.
TOP.PHP
Code:
<html>
<head>
<title>PHP Code can be used to change this depending on the page...</title>
</head>
<body>
<div id="wrapper">
<a href="page1.php">Page 1</a><br />
<a href="page2.php">Page 2</a><br />
<a href="page3.php">Page 3</a><br />
<hr />
<!-- This is the end of this file and where the document you include this file in will start... -->
Then you can close the document with:
FOOTER.PHP
Code:
<hr />
This is my footer that is on every page I include this document on, if I want to change this for the WHOLE website all I have to do is edit the footer.php file and bob's your uncle, every page has the new footer.
</div>
</body>
</html>