title: How can I use several form inputs with the same name?
body: <p>I have several checkbox (I don't know number of them) that create from a loop in a form.</p>
  
  <pre><code>&lt;form&gt;
  &lt;input type="checkbox" name="id" value="id"&gt;
  &lt;input type="checkbox" name="id" value="id"&gt;
  ...//create in a loop
  &lt;input type="checkbox" name="id" value="id"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>My question is that How can I read them, If I use <code>&lt;?php $_REQUEST['id']; ?&gt;</code>, it only reads the last checkbox.</p>