I am developing a page where people check off items for which they would
like to volunteer. For now, this page has around 50 checkboxes on it, but it
could conceivably change frequently and grow much larger than the current 50
items once it goes live.
I have all of the checkboxes arranged into
]
Sent: Tuesday, August 17, 2004 11:37 AM
Subject: [PHP-DB] Checkbox Array Question - Iteration
I am developing a page where people check off items for which they would
like to volunteer. For now, this page has around 50 checkboxes on it, but
it
could conceivably change frequently and grow much
Ugh! That's looks like it could get ugly to maintain.
What I would do is store your tasks in a table so when you want to add
a task, you just add a record. You would then select the tasks from the
table and build the check boxes from the list you got from the table.
$checkBoxGrid = 'span