title: MAMP - php doesn't work when there is html code
body: <p>Let me explain my situation.
  I made a local website on Windows Using WAMP.
  I transfered my files to a MACBOOK, and i installed MAMP</p>
  
  <p>For some odd reason
  When i submit a login form on Wamp, it shows me Blank page.
  I searched the internet and i found that my login.php file has html code inside because its a template, and my mamp works only if i have only php code in the login.php file
  For example:</p>
  
  <p>THIS WAY IT WORKS:</p>
  
  <pre><code>&lt;?php
   echo "Hello World";
  ?&gt;
  </code></pre>
  
  <p>THIS DOES NOT WORK:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
   HTML_CODE_FOR_WEBSITE_TEMPLATE
   &lt;/head&gt;
   &lt;/html&gt;
   &lt;?php
   echo "hello world";
   ?&gt;
  </code></pre>
  
  <p>Somehow mamp displays blank page because it thinks the code has errors
  HOWEVER. the code is 100% working, because it works 100% on Windows</p>
  
  <p>Thanks in advance</p>