Re: Need some advice concerning forms (multi select pulldown) and arrays

From: Date: Sun, 26 May 2002 12:07:09 +0000
Subject: Re: Need some advice concerning forms (multi select pulldown) and arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99296@lists.php.net to get a copy of this message
On Sunday, May 26, 2002, at 01:14 PM, John Holmes wrote:
Just give each select its own name.
Can't do that, don't know from time to time how many there'll be.... And I've to have some case which iterates on the following page...
Or name them all the same followed by an [] and you'll end up with a multi-dimensional array if things go right...
Sounds better - but I've a lot of items and I'ld like to know which of the arrays that go to which item... Can I just write …name=array[whateverid] and then in some way reveal the whateverid's? Sincerely Victor

« previous php.general (#99296) next »