title: My foreach only finds the last element of the array
body: <p>This is my first time here.
  I have a problem with my foreach loop, it only outputs the "Contact Us" link and none of the others. </p>
  
  <p>I can't see a problem with my syntax:</p>
  
  <pre><code>&lt;?php
  echo '&lt;nav id="main_nav"&gt;';
      $links = array(
          '#' =&gt; 'Home',
          '#' =&gt; 'About Us',
          '#' =&gt; 'Our Services',
          '#' =&gt; 'Portfolio',
          '#' =&gt; 'Testimonials',
          '#' =&gt; 'Gallery',
          '#' =&gt; 'Contact Us'
      );
      foreach($links as $href =&gt; $label){
          echo '&lt;a href="',$href,'"&gt;',$label,'&lt;/a&gt;';
      }
      echo '&lt;/nav&gt;';
  ?&gt;
  </code></pre>