title: How to submit checkbox values with PHP post method
body: <pre><code>&lt;input type="checkbox" class='form' name="checkbox_1" /&gt;
  
  &lt;input type="checkbox" class='form' name="checkbox_2" /&gt;
  
  &lt;input type="checkbox" class='form' name="checkbox_3" /&gt;
  
  .........
  
  &lt;input type="checkbox" class='form' name="checkbox_10" /&gt;
  </code></pre>
  
  <p>The from has been submitted using the "POST" method. identify, which of the check-boxes and write their numbers in increasing order. Separated all numbers by spaces(not new lines) and do not use any HTML formatting. </p>
  
  <p>For Eg:</p>
  
  <p>If check-boxes 3, 5 and 10 are checked. </p>
  
  <p>Ouput would be:</p>
  
  <p>3 5 10</p>