Posted by Jason Herald on 05/28/06 07:34
Another option is to loose the binary and use a text field and just store the on or blank. It really just depends on what you are going for. Using int you would do it such: $d = null; if ($_POST['check_box_name']=="on") { $d = 1; } else { $d = 0; } Then just update your database accordingly.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming