title: same name radio fields
body: <p>Excuse me, but I have no idea what this is called, so I'll try and explain it.</p>
  
  <p>With HTML forms you can have input fields of the same name, with auto assigning keys for each one, for example:</p>
  
  <pre><code>&lt;form action="somepage" method="post"&gt;
  &lt;input type="text" name="phone[]" /&gt;
  &lt;input type="text" name="phone[]" /&gt;
  &lt;input type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>when this form is submitted, the server receives the data in via POST.</p>
  
  <p>as an associative array it looks like this:</p>
  
  <pre><code>Array(
  [phone] =&gt; Array ( [0] =&gt; 123456789 [1] =&gt; 987654321 )
  )
  </code></pre>
  
  <p>where keys 0,1 are given automatically.</p>
  
  <p>how would you do the same with radio fields?</p>
  
  <pre><code>&lt;input type="radio" name="option[]"/&gt;
  &lt;input type="radio" name="option[]"/&gt;
  </code></pre>
  
  <p>is treating both fields as one (as it should) and not giving it unique keys...</p>