title: Php file not displaying data collected from html file
body: <p>I'm trying to link a simple html file with a php file.The data from the html file is properly getting transferred to php file , but while displaying that data through php file nothing is gets displayed on the browser.</p>
  
  <p>html:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Calculator&lt;/title&gt;
  &lt;/head&gt;
  &lt;body align="center"&gt;
      &lt;header align ="center"&gt;&lt;i&gt;&lt;b&gt;&lt;font size="30"&gt;Calculator&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/header&gt;
  
          &lt;form action="result.php" method="POST" &gt;
              &lt;br&gt;
              &lt;br&gt;
              Number 1: &lt;input type="text" name="number1"&gt;
              &lt;br&gt;&lt;br&gt;
              Number 2: &lt;input type="text" name="number2"&gt;    
              &lt;br&gt;
              &lt;br&gt;
              &lt;input type="submit"&gt;
          &lt;/form&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>php:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
      &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Calculator&lt;/title&gt;
      &lt;/head&gt;
      &lt;body align="center"&gt;
          &lt;header align ="center"&gt;&lt;i&gt;&lt;b&gt;&lt;font size="30"&gt;RESULT&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/header&gt;
          &lt;?
              $var1= $_POST['number1'];
              $var2= $_POST['number2'];
              echo $var1;
              echo $var2;
          ?&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>