title: PHP include function not display images or css
body: <p>I am testing a small blog site I created using XAMPP. PHP files work with includes when in parent folder, but I have a folder called "2016" inside the same htdocs folder and in that folder I have "1" "2" "3" "4" etc for the months.</p>
  
  <p>In each of these folders I will put blog posts (php files with html includes), but when I do the includes, only the html is loaded, the images nor the css are not. </p>
  
  <p>Below are the includes I have tried:</p>
  
  <pre><code>&lt;?php
  $page_title = 'Test Page';
  
  
  
  $path = $_SERVER['DOCUMENT_ROOT'];
  $path .= "/includes/header.html";
  include($path);
  
  
  
  ?&gt;
  </code></pre>
  
  <p>and also tried</p>
  
  <pre><code>&lt;?php
  
  include ('/../../includes/sidebar.html');
  
  include ('/../../includes/footer.html');
  
  ?&gt;
  </code></pre>
  
  <p>Neither options have worked.</p>
  
  <p>Any help will be greatly appreciated! </p>