title: My php code gets commented out by the browser
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9368841/php-code-gets-turned-into-html-comments">PHP: Code gets turned into HTML &lt;!&mdash; Comments? --&gt;</a>  </p>
  </blockquote>
  
  
  
  <p>I have some very, very simple php code.</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Something&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h2&gt;Something&lt;/h2&gt;
  
  
          &lt;?php
              $val = $_POST['a'];
              echo 'Value: ' . $val . '&lt;br /&gt;;
          ?&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I press the submit button in an form I've made, the browser comments out the php code like this:</p>
  
  <pre><code>&lt;!--?php
       //the stuff i do above
  ?--&gt;
  </code></pre>
  
  <p>Anyone knows what this is?</p>