title: Simple PHP: getting variable from a form input
body: <p>I can't really use PHP and from what I've seen in tutorials this should work, but it doesn't:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;&lt;/head&gt;
    &lt;body&gt;
      &lt;form&gt;
        &lt;input type='text' name="name" value='myName'&gt;
      &lt;/form&gt;
      &lt;p&gt;
        &lt;?php
          $name = $_POST['name'];
          echo $name
        ?&gt;
      &lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Is there a reason I can't get the value of name?
  Sorry for asking such a simple question...</p>
  
  <p>here is the fiddle <a href="http://jsfiddle.net/DCmu5/1/" rel="nofollow noreferrer">http://jsfiddle.net/DCmu5/1/</a>, so, please try what you said and send it to me only when it works before answering</p>