Posts: 283
navigation system:
<a href=template.php?x=engineering>Engineering</a>
<a href=template.php?x=fabrication>Fabrication</a>
template.php:
<body>
All the stuff you needs
<?
switch ($x):
case engineering:
include ('engineering.x');
break;
case fabrication:
include ('fabrication.x');
break;
endswitch;
?>
I got this from greg252, thaks for making this easy to understand, but I was wondering if you wanted to add this to your web page, would the index page have to be a frames page to seperate the link from the main body of text? or would you just make every page the same with links and all and call the pages this way?
can you explain this to me, how the main page would be set up and how would you set up the other pages that you are calling within your php code.
Thanks for your help!