Re: How to use SELECT with multiple options enabled in forms....
| From: | John W. Holmes | Date: | Fri, 21 Nov 2003 02:32:23 +0000 |
| Subject: | Re: How to use SELECT with multiple options enabled in forms.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170516@lists.php.net to get a copy of this message | ||
Robert Restad wrote:
I yet have to find a way to actually determine how I could fetch i.e. the results from a SELECT multiple-choice menu.I think I already asnwered this today.... <select name="foo[]" multiple> Now the values the user selected will be in an array, $foo, $_GET['foo'], $_POST['foo'], $_REQUEST['foo'], etc... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com