Gossamer Forum
Home : Products : DBMan : Discussions :

Re: [seasky] build_checkbox_field question

Quote Reply
Re: [seasky] build_checkbox_field question In reply to
How are the fields stored?........is it yes/no or 1/0 ?

You'd basically need to loop though the database and put an if/else inside the loop like:

Code:
if ($data[$db_check_field_number] eq 'yes') {
check the tickbox/radio
}
else {
make a blank one
}
Subject Author Views Date
Thread build_checkbox_field question csky 3425 Oct 14, 2001, 2:29 AM
Post Re: [seasky] build_checkbox_field question
QooQ 3351 Oct 14, 2001, 3:42 AM
Post Re: [seasky] build_checkbox_field question
Paul 3351 Oct 14, 2001, 3:54 AM
Thread Re: [seasky] build_checkbox_field question
csky 3369 Oct 14, 2001, 12:41 PM
Thread Re: [seasky] build_checkbox_field question
Paul 3354 Oct 14, 2001, 1:17 PM
Post Re: [RedRum] build_checkbox_field question
csky 3341 Oct 15, 2001, 8:15 AM
Thread Re: [seasky] build_checkbox_field question
csky 3318 Oct 21, 2001, 11:41 AM
Post Re: [seasky] build_checkbox_field question
Paul 3288 Oct 22, 2001, 6:49 AM