checkbox data

From: Date: Wed, 28 Mar 2001 09:50:09 +0000
Subject: checkbox data
Groups: php.db 
Request: Send a blank email to php-db+get-7921@lists.php.net to get a copy of this message
I have a number of apartment features that are entered via checkboxes. In my revision script, I am not sure of the best way to revise these. With the system I am using now I set the field to "1" if the box is checked on the initial form, otherwise, it becomes zero indicating, "NO" [ "1" is "YES" ]. so how do I "check" the boxes when i pull the initially entered information? [ so that the user may, check or uncheck them and resubmit. I could go thru a massive series of IF statements i suppose, but I know there must be a simpler way. Does anyone else work with ceckbox data in their DB? thanks much, olinux

« previous php.db (#7921) next »