Posts: 275
Name: Mark Stegeman
Location: Netherlands, Europe
|
Uhm. No.
I'll state you a small example:
PHP Code:
<html> <head> <title>Test page</title> </head> <body> <div id="Header">Your header goes here</div> <div id="Content"> <?php switch($_GET['page']){ case 1: include_once('news.php'); break; case 2: include_once('galleries.php'); break; case 3: include_once('links.php'); break; default: include_once('home.php'); break; } ?> </div> </div id="Footer">Your footer goes here</div> </body> </html>
Now you can link to:
'News': 'index.php?page=1'
'Galleries': 'index.php?page=2'
'Links': 'index.php?page=3'
If no page is supplied, you get the 'Home' page.
Regards,
Insensus
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
|