title: Unable to handle unchecked checkbox in loop while save
body: <p>I have multiple checkboxes in a foreach loop in my code</p>
  
  <pre><code>&lt;form method='POST' action='save.php'&gt;
  &lt;?php foreach($problems as $problem): ?&gt;
  &lt;input type='text' name="month[]"/&gt;
  &lt;input type="checkbox" name="is_increased[]" value="1" /&gt;
  &lt;?php endforeach; ?&gt;
  &lt;input type='submit' value='Submit'/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When I save, I got values of checked checkboxes only. 
  How to get all the checkboxes value, it will be '0' if the checkbox is unchecked.
  Thank you.</p>