title: Simple php include() not working
body: <p>I'm familiar with HTML but only just starting to learn php. I can't seem to figure out why this code isn't working. I've previously had no problems with include()'s but that is when the php code is it's own distinct file. This time around I'm trying to create a dynamic web page with php scripts. I have apache running with xampp and I have the gf.css file and testing.php in the same folder as the main html file.</p>
  
  <p>The problem I can't seem to figure out is that nothing is showing up in the text box when I try and run the HTML page. It seems as though nothing in the php tags is running. I put in echo statements to try and determine what the problem was but nothing showed up unless, however, I placed a h1 tag after the first " in my echo statement. But inn this case, no matter where I placed the closing h1 tag, the rest of the php script just printed. It was as if I couldn't close the tag. </p>
  
  <p>That's as much info as I can give really. Any help and/or explanations as to what I'm doing wrong would be much appreciated! Thanks in advance.</p>
  
  <p>Here's the HTML file</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;link rel='stylesheet' type='text/css' href='gf.css'&gt;
          &lt;body&gt;
              &lt;h1&gt;This is my web page&lt;/h1&gt;
              &lt;div id='main_box'&gt;
                  &lt;?php           
                      include ('testing.php');                 
                  ?&gt;
              &lt;/div&gt;
          &lt;/body&gt;
      &lt;/head&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here's the .css file</p>
  
  <pre><code>#main_box
  {
      height:500px;
      width:400px;
      color:white;
      background-color:1e1e1e;
  }
  </code></pre>
  
  <p>And here's the testing.php file if that matters</p>
  
  <pre><code>&lt;?php
  
      echo "test page";
  
  ?&gt;
  </code></pre>