extended layout?

Discussion in 'HTML & Website Design' started by MoeAlza, Jan 30, 2008.

  1. #1
    I am having a small problem with the php includes I am using.

    My default page is news.php . When someone clicks on a link in the side bad it should replace the news.php content with the other content but it displays both contents.

    I am using this code...

    
    <?php 
    $query = $_GET['id'];
    			
    if($query == "characters") include("./content/brawl/characters.php");
    
    else include("./content/index/news.php");
    
    ?>
    
    PHP:
    Their is one link that actually works properly but i looked at it and everything the same as other links.
     
    MoeAlza, Jan 30, 2008 IP