title: php menu navigation include
body: <p>I'm working on my homepage and in my layout have an included navigation.php. I 
   Basically, the code in the layout is</p>
  
  <pre><code>DIV &lt;?php include ('header.php'); ?&gt;
  DIV &lt;?php include ('navigation.php'); ?&gt;
  DIV &lt;?php
    if(is_null($GET["page"])) {
      $page = "home";
    }else{
      $page = $GET["page"];
    }
     include(''.$page.'.php');
  ?&gt;
  </code></pre>
  
  <p>The code in navigation.php is </p>
  
  <pre><code>&lt;ul&gt;
  &lt;li&gt;&lt;a href='index.php?page="home"'&gt;&lt;span&gt;Home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='index.php?page="explore"'&gt;&lt;span&gt;Explore&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='index.php?page="contact"'&gt;&lt;span&gt;Contact&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/div&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Still, when clicking the links, home keeps being included.</p>