Re: Multiple Select And Javascript Issue
| From: | David Robley | Date: | Fri, 25 Aug 2000 04:41:14 +0000 |
| Subject: | Re: Multiple Select And Javascript Issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13575@lists.php.net to get a copy of this message | ||
On 25 Aug, Grant Walters wrote:
> Hi,
>
> Scenario as follows:
>
> SELECT with MULTIPLE options is being built by Javascript code that won't
> accept a variable name like "items[]" so it fills a field called "items".
>
> This is'nt too bad as I can work around it with a hidden field.
>
> The problem is that PHP doesn't populate HTTP_POST_VARS with the entries
> from "items" unless they are acutally selected.
>
> Can I get PHP to return all values from the SELECT MULTIPLE variable?
>
> Regards
>
> GRANT WALTERS
> Walters & Associates, P O Box 13-043, Johnsonville, Wellington, New Zealand
> Phone: +64 4 4765175 CellPhone: 025 488265
>
Maybe this is relevant? http://au.php.net:81/FAQ.php/#7.14
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA