title: Include external code on a web page ( php include() or get_header() )
body: <p>I've started creating a custom html page for the first time and i've hit a bump. The code in the header will be the same in all my pages , so i want to put it in an external file (header.php) and just put 1 line of code in all my pages to link to it but it doesn't seem to be working .</p>
  
  <ul>
  <li>Note - I want to include just basic html code ( not a function ) - i'm thinking that's why its not working but not sure.</li>
  </ul>
  
  <p>HTML file :</p>
  
  <pre><code>&lt;body&gt;
  
  &lt;?php include('header.php') ?&gt;     // didn't work
  &lt;?php get_header(); ?&gt;      // didn't work
  
  &lt;div class="content"&gt; &lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>PHP File :</p>
  
  <pre><code>&lt;h1&gt;TITLE&lt;/h1&gt;
  </code></pre>
  
  <p>When i put the code directly on the page - it shows "TITLE"</p>
  
  <p>When i try include or get_header , i get a blank page . I checked the codex and online posts but i've not been able to fix it . </p>
  
  <p>Any help would be appreciated - Thanks</p>