RE: [PHP] multiple select box not showing values

From: Date: Tue, 08 Jul 2003 08:51:03 +0000
Subject: RE: [PHP] multiple select box not showing values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154324@lists.php.net to get a copy of this message
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:montmica@isu.edu] Sent: Tuesday, July 08, 2003 12:03 AM To: php-general@lists.php.net Subject: [PHP] multiple select box not showing values I have a select box that is filled with multiple values and when the user clicks submit, it hightlights all the values in the select box and then sends this to my PHP file. I did a simple: echo ($_POST["imgList"]); to see what was happening and the only value being carried across is the last value selected, even though all values are selected. What might be causing only the last value to be chosen? I was thinking that it was some of the javascript that I use but I recall that it was working just fine with it. I've even tried removing the JS with the same results. Any ideas. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#154324) next »