View Single Post
Old June 3rd, 2008, 11:12 PM   #15 (permalink)
Sanehouse
Registered User
Seasoned Poster
 
Joined in Aug 2006
75 posts
Gave thanks: 1
Thanked 3 times
Sorry for the double-post, but I found the solution (damn you, PHP5!):

Right after </head> goes:

PHP Code:
<?php $id $_GET['id']; ?>
And where you want the content to appear:

PHP Code:
<?php
            
if (!isset($id)){
                include(
"home.php");
            }
            else{
                include(
"$id.php");
            }
            
?>
__________________
Shared Hosting Patron
http://www.united-fleet.org
Sanehouse is offline   Reply With Quote