title: Php include_once not working, nothing showing up
body: <p>I am just beginning to learn php.</p>
  
  <p>I am attempting to use the include_once function in order to include a template header in each of my php sites.</p>
  
  <p>(also, this is my first post on this site, and I am not quite sure how it works... just realized the 4-space indent thing)</p>
  
  <p>I am watching this video:
  <a href="http://www.youtube.com/watch?v=65gV8JOgWkQ&amp;feature=relmfu" rel="nofollow">http://www.youtube.com/watch?v=65gV8JOgWkQ&amp;feature=relmfu</a></p>
  
  <p>And beginning at about minute 19:00, I have entered this code into DW CS5 as advised.</p>
  
  <p>This is my index.php file:</p>
  
  <pre><code>&lt;body&gt;
  
  &lt;div align="center" id="mainWrapper"&gt;
  &lt;?php inlude_once("/Users/patrickmeaney/localhost/BobsSuits/template_header.php"); ?&gt;
  
  &lt;?php include_once     dirname("/Users/patrickmeaney/localhost/BobsSuits/template_header.php"); ?&gt;
  
  &lt;div id="pageContent"&gt; test&lt;/div&gt;
  &lt;?php inlude_once("template_footer.php");?&gt;
  
  &lt;/div&gt;
  
  
  
  &lt;/body&gt;
  </code></pre>
  
  <p>This is my template_header page:</p>
  
  <pre><code>&lt;div id="pageHeader"&gt;&lt;table width="100%" border="1"&gt;
        &lt;tr&gt;
          &lt;td width="49%"&gt;&lt;img src="style/bobssuitslogo.png" width="433" height="92" alt="Logo" /&gt;&lt;/td&gt;
      &lt;td width="51%"&gt;&amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td colspan="2"&gt;&lt;a href="index.php"&gt;Home&lt;/a&gt; &lt;a href="#"&gt;Link 1&lt;/a&gt; &lt;a href="#"&gt;Link 2&lt;/a&gt; &lt;a href="#"&gt;Link 3&lt;/a&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>