here's an example of one way of doing this:
Create one file - index.php
Put your design into it and lay it all out how you want. Wherever the content area would be, put the following code:
if(!$_GET['p']) {
include("incl/home.incl");
} else {
include("incl/" . $_GET['p'] . ".incl");
}
What this code will do is check for a variable p in the url. If there is no variable, it includes home.incl (from the incl directory). If there is a value, then it includes the name of the variable with a .incl extension.
This means you would need to make a folder called /incl and place your actual content in there. Your home page content would be home.incl
For the other pages, you'd make links like this:
<a href="?p=about">About Us</a><br>
<a href="?p=contact">Contact Us</a>
Then you'd need to make a .incl file for each one.
about.incl and contact.incl and place them both in your incl folder.
Cgraz