ok... I am creating a tree of checkboxes from the information in the database.. like for everyname in the database I create a series of (3)checkboxes (update, view and priv)..
so when I do a submit i need to send all the values for every checkbox clicked for any number of users... My problem is that I am not sure how I can submit the values of all checkboxes as they keep varying in number... Hope my problem is more clearer now.. gratefull for suggestions... sands -----Original Message----- From: Mike Flynn [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 18 de Fevereiro de 2002 13:43 To: Sandeep Murphy Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] dynamic checkboxes submit..help! You have to be a little more clear. What do you mean by "dynamically generated" and "tree"? If the checkboxes are created dynamically, what naming convention are using to give the checkboxes names? Set their value=".." to whatever you want, and use some convention for their names. Then after submitting, use that same naming convention to look at all the names and see which ones have been set, and those are the ones that are checked. The "values of all the checkboxes which are checked" are always submitted. That's how forms work.. -Mike At 01:23 PM 2/18/2002 +0000, you wrote: >Hi, > >I have a dynamically generated tree of checkboxes which I need to submit to >a PHP page for performing a search.. > >Can anyone pl suggest as to how I can submit the values of all the >checkboxes which are checked?? > >TIA, > >sands -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php