Thanks for the links bud. Now I was looking at your code:
// index.php //
if(isset($page))
{
switch ($page)
{
case "comics":
include("comics.php");
break;
default:
include("index2.php");
break;
}
}else
include("index2.php");
// to link to it //
<a href=index.php?page=comics>comics page</a>
Can you explain to me what you've done here?
I assume this is basically the guts of the code that picks up the variables from the url header and spits out the desired page correct?
Here we have includes, but is there a way to get all the 3 pages into 1 and identify each part by a variable, and then call that part from the url header?
thanks