Did you remember the [] on the select field's name? Otherwise it will
treat data as a scalar and constantly overwrite until the last selected
entry is reached.
Cheers,
Rob.
On Thu, 2003-09-04 at 16:39, Steve Goodman wrote:
> Hey all,
> I'm curious if anyone else has ever come across this problem
Is imgList an array, and did you specify it as such in the form? Are you
foreach() through the array to get the contents?
-Original Message-
From: Micah Montoy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 12:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] multiple select box not s
Use empty brackets in the name attribute, e.g., . PHP will then create an array indexed by numbers. PHP will
automatically assign indices in assignments if you omit the index:
";
echo $array[1]."";
?>
Kirk
> -Original Message-
> From: ..s.c.o.t.t.. [gts] [mailto:[EMAIL PROTECTED]]
> Su
3 matches
Mail list logo