I have a form with check boxes in it. I didn't set the value of the check boxes I always thought the value was either 'on' or '' (empty). I have the value 'on' passing to the database. The problem is when I unchecked the box it isn't changing the value in the database to '' (empty). The rest of the values of the form, such as input boxes are being changed. Here is my code on my check boxes
<input type="checkbox" name="form3_one_2" <?php if($form3_one_2 == 'on'){print 'checked="checked"';}?> />
Am I supposed to have an value put into the form???