title: Can't get value from radio button
body: <p>I want to get the data from radio button when I submit it, but
  I don't know why I can't get the value from radio it.</p>
  
  <p>My code</p>
  
  <pre><code>&lt;?php
     $choice = $_GET['choice'];
  ?&gt;
  
  &lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form action="index.php" method="POST"&gt;
      &lt;table align="center"&gt;
          &lt;tr&gt;&lt;td&gt;Please select&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;&lt;input type="radio" name="choice" value="0"&gt;aaaa&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;&lt;input type="radio" name="choice" value="1"&gt;bbbb&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;&lt;input type="radio" name="choice" value="2"&gt;cccc&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;&lt;input type="radio" name="choice" value="3"&gt;dddd&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;&lt;input type="submit" value="submit"&gt;&lt;/td&gt;&lt;/tr&gt;
      &lt;/table&gt;
               &lt;?php echo"$choice";?&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>