if you use this method you pass variables for the pages via the index page. Only the include section reloads. Nothing else.
I am working on an artists gallery site using this very simple method at the moment.
LINK
ie <a href="index.php?doc=image1">Image/Job 1</a>
CODE in Index
<?php
//Test to see if there is any URL variable?
if(isset($HTTP_GET_VARS['doc']))
{
//If so then set $doc with the URL.variable
$doc = $HTTP_GET_VARS['doc'];
//The switch statement begins here
switch($doc)
{
case "image1":
include("dsp_image1.php");
break;
case "image2":
include("dsp_image2.php");
break;
default:
break;
}}
else
include("**Start Page**");
?>
For what you want this is simple.