IF you have an automated insert/update procedure, it's pretty easy to just output a hidden input with value = 0 right before the checkbox:
<input type="hidden" name="cb" value="0" />
<input type="checkbox" name="cb" value="1" />
Now you'll allways either get 0 or 1 from the POST
Leave a comment: