PHP Code:
<?php
$id = $_GET['id'];
switch ($id) {
case 1:
include ('header.php');
include ('1.php');
include ('footer.php');
break;
case 2:
include ('header.php');
include ('1.php');
include ('footer.php');
break;
case 3:
include ('header.php');
include ('1.php');
include ('footer.php');
break;
default:
include ('noid.php');
}
?>
I think this will work.