title: PHP include not working with my html
body: <p>I am new to web development and am starting to learn php. I am wanting to make a website     and am just working on small projects to learn different approaches.</p>
  
  <p>I created a php file that contains the html information for the navbar so I can just include the php file and won't have to update every page that will have the navbar.</p>
  
  <p>Here is my html file.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;link rel="stylesheet" type="text/css" href="home.css"&gt;
          &lt;title id='title'&gt;Homepage&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
  
      &lt;?php include("menu.php"); ?&gt;
  
      &lt;h1&gt;Welcome to the homepage.&lt;/h1&gt;
      &lt;h2&gt;
          &lt;?php
              echo "php is working";
          ?&gt;
      &lt;/h2&gt;
      &lt;p&gt;I will soon be update the page to look much nicer.&lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is my php file.</p>
  
  <pre><code>&lt;?php
      echo &lt;&lt;&lt; EOT
      &lt;div class="navbar navbar-static-top"&gt;
          &lt;ul class="nav"&gt;
              &lt;li class="home"&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
              &lt;li class="about"&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
              &lt;li class="projects"&gt;&lt;a href="#"&gt;Projects&lt;/a&gt;&lt;/li&gt;
              &lt;li class="resume"&gt;&lt;a href="#"&gt;Resume&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      EOT;
  
  ?&gt;
  </code></pre>
  
  <p>When I open up the webpage none of it is working. But if I remove the php script that has the html and just insert the html in its place it works. I know php is installed correctly becuase the php script in h2 at the bottom of the file works.</p>