RE: [PHP] Select multiple boxes
| From: | John W. Holmes | Date: | Sat, 18 Jan 2003 15:35:49 +0000 |
| Subject: | RE: [PHP] Select multiple boxes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132098@lists.php.net to get a copy of this message | ||
> The problem is I have 2 seelect boxes...it's for creating a user and
> adding
> them to a list of available groups...so I have one select box that is
> initially empty called memberOf and another box that has all of the
> available groups listed in it called availableGroups. I have a script
> that
> can move items back and forth and when the form is submitted I want to
be
> able to get all the items that are in the memberOf box..anyh ideas on
how
> to
> to this? THanks.
Well, you create the "memberOf" box, right? How do you do that? At the
same time, create a javascript or hidden variable that has its contents
to be passed along with the form.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/