|
Posted by Tom on 12/04/06 01:26
On Sun, 3 Dec 2006 13:10:30 +0100, Gaga wrote...
>
>1.) what is the best way to store multiple checkboxes into table. (e.g. if
>you 20 checkboxes there is no reason to make 20 table fields ? )
>
>2.) How to pull this stored checkbox data so i can display which checkboxes
>are checked and which not ?
>
>
>
As long as the <input type=checkbox....> tags are within your form tags, it's
really up to you how you want that to appear. You can break them up into 2 or 3
column rows maybe.
If you want to pre-check selected boxes, you can use PHP to determine whatever
condition you created, and add a string of text like " checked" to your selected
input tag. This can apply to whether you had i check box or several hundred, so
quantity shouldn't be a factor.
Tom
--
Basic Newsguy / 12-months / $39.95
http://www.newsguy.com/overview.htm
[Back to original message]
|