I have multiple checkboxes in a foreach loop in my code
<form method='POST' action='save.php'>
<?php foreach($problems as $problem): ?>
<input type='text' name="month[]"/>
<input type="checkbox" name="is_increased[]" value="1" />
<?php endforeach; ?>
<input type='submit' value='Submit'/>
</form>
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.