So basically you have only one file--index.php, and the other pages of your site are includes with only content? so you have links like
index.php?p=about
index.php?p=hours
index.php?p=contact
and when they click one of those, you want the value of variable p to be included in your page? You could use something like this:
Your variable is up in the URL, so that is a GET method. If there is no p variable in the url, then you included the default page, default.php
<?
if(!$p) {
include("includes/default.php");
} else {
include("includes/" . $_GET['p'] . ".php");
}
?>
That will include default.php if there is no p variable, and will include the page found in the p variable along with the .php extension.
Cgraz