Re: Designing an input form for one-to-many etc.
| From: | Koos van den Hout | Date: | Mon, 09 Oct 2000 10:21:05 +0000 |
| Subject: | Re: Designing an input form for one-to-many etc. | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3426@lists.php.net to get a copy of this message | ||
Quoting Derek Paterson who wrote on Mon, Oct 09, 2000 at 10:55:10AM +0100:
> I've had pages that have worked fine for many months using html "<select
> multiple". I had a look in order to answer the question - the php page uses
> HTTP_POST_VARS as an array and if any of the input fields were select
> multiples the array had multiple entries with the same variable name.
>
> They now don't work. They only pass the last value in the list.
You do use varname[] vars and not varname ?
Koos
--
Koos van den Hout, PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos@kzdoos.xs4all.nl or DSS/1024 0xF0D7C263 -?)
Fax +31-30-2817051 Visit my site about books with reviews /\\
http://idefix.net/~koos/ http://www.virtualbookcase.com/ _\_V