title: Form value not found in _POST
body: <p>I have made a very simple form, just to see if I'm doing the right thing when submitting data in PHP. It just consists of three radio buttons and nothing else. Right not, I don't get the value in $_POST as i expect.</p>
  
  <p>The form:</p>
  
  <pre><code>&lt;form name='testform' action='test.php' method='post'&gt;
      &lt;input type='radio' name='testbutton' value='larry' /&gt;
      &lt;input type='radio' name='testbutton' value='curly' /&gt;
      &lt;input type='radio' name='testbutton' value='moe' /&gt;
      &lt;input type='submit' value='Submit'&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The script, test.php:</p>
  
  <pre><code>if($_POST['testbutton'] == 'larry') {
      echo "You picked Larry";
  } elseif($_POST['testbutton'] == 'curly') {
      echo "You picked Curly";
  } else {
      echo "You picked Moe";
  }
  </code></pre>
  
  <p>The code returns no errors but whatever button I choose, I always get Moe, even when selecting no button at all. Using var_dump($_POST) gives nothing, an empty space. Using print_r($_POST) give 1, no matter what I pick. I can't find what I'm doing wrong here.</p>
  
  <p>Btw, I know that this code is not optimal but I'm just testing things here.</p>