title: Navigating pages in php
body: <p>So I have been reading around on google, and it is just a mess of different answers, with not much explanation.</p>
  
  <p>My question is how do you switch between PHP pages? Suppose I have a directory on my server that has the following files in it:</p>
  
  <pre><code>index.php
  about_us.php
  contact_us.php
  </code></pre>
  
  <p>Lets suppose on all 3 pages, I have a header with 3 links:</p>
  
  <pre><code>Home
  Info
  Contact
  </code></pre>
  
  <p>What should happen when one of the buttons (lets say Contact) is hit?</p>
  
  <p>I have read about 3 techniques:</p>
  
  <pre><code>Php: header("contact_us.php")
  javascript: window.location = "contact_us.php";
  html: &lt;meta http-equiv="Refresh" content="5; URL="contact_us.php"&gt;
  </code></pre>
  
  <p>Are any of these preferred by today's standards? I read somewhere that you aren't supposed to use php's header() function now.</p>
  
  <p>Any insight would be very great to help me make my decision :)</p>