title: PHP includes header or footer location
body: <p>I was hoping someone could help. I have just started to dabble with PHP includes for time saving in the future. For example I want to change the footer and header on a web page once (using include) instead of copying and pasting the code 30 or 40 times - oh no... a typo start again.</p>
  
  <p>Which brings me to the question(s) where is it best to place this script?</p>
  
  <pre><code>&lt;?php include("includes/headernav.html"); ?&gt;
  </code></pre>
  
  <p>Can it be placed in a div, or should it be placed at the top of your code under the body?</p>
  
  <p>If I want to make an image/banner include module. Can I</p>
  
  <pre><code>&lt;?php include("includes/image.jpg"); ?&gt; 
  </code></pre>
  
  <p>Or is best to wrap the image in html and apply like this?</p>
  
  <pre><code>&lt;?php include("includes/imagewrapped.html"); ?&gt;
  </code></pre>