title: How to get values from form and print it using (only) php
body: <p>Its a simple thing, I want to enter a name and after clicking the submit button I want to print the name just bellow the form ---simple!</p>
  
  <pre><code>&lt;?php 
  echo $_POST['one'];
  ?&gt;
  
  &lt;!DocType HTML&gt;
  &lt;html&gt;
      &lt;body&gt;
          &lt;p&gt;
              &lt;u&gt; &lt;h3&gt;
                  Please enter your name:  
                  &lt;/h3&gt;   
              &lt;/u&gt;
          &lt;/p&gt;
  
          &lt;form method = "post"&gt;
              &lt;input type = "text" name = "one"&gt;
              &lt;input type = "submit" value = "Submit"&gt;
          &lt;/form&gt;
  
              &lt;p&gt;
              &lt;u&gt; &lt;h3&gt;
                  You just entered:  
                  &lt;/h3&gt;   
              &lt;/u&gt;
          &lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But its not working. The rule is it must be done using only php. I'm guessing something is wrong in the input tag for submit but not sure what it is.</p>