View Single Post
Old 07-20-2008, 01:46 PM  
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
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.
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote