title: html radio button array
body: <p>I have an HTML form with radio buttons in a loop with same name like this:</p>
  
  <pre><code>Post Id 1:&lt;input type="radio" name="radiob[]" id="radio" value="Yes" /&gt;
  Post Id 2:&lt;input type="radio" name="radiob[]" id="radio" value="Yes" /&gt;
  </code></pre>
  
  <p>I want to save radio button selected post into database but I want the user to select only one post.  When I put post id with radio button name like radiob[2], the user can select multiple radio buttons so how can the user only check one radio button and the form send both the radio button id and value?</p>
  
  <p>Thanks.</p>