title: How do I update the source code with mamp?
body: <p>I just downloaded mamp 3 with php 5.5.10. I created a new file with just php and put in the htdocs folder and it displayed correctly in chrome. But then I added some html and it displayed nothing. I checked the source code and it had one blank line. How do I fix it so that it displays the HTML and PHP? Also, why does this happen?</p>
  
  <p>initial php was</p>
  
  <pre><code>&lt;?php echo 'hi';?&gt;
  </code></pre>
  
  <p>then i changed it to </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;food&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php 
  echo 'hi';
  ?&gt;
  &lt;form method="post" &lt;?php echo "action=\"$_SERVER['PHP_SELF']\"";?&gt;&gt;
  &lt;input type="text" name="food" placeholder="enter a food name"&gt;
  &lt;input type="submit" value="submit"&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>