Re: Reading data from SELECT in PHP

From: Date: Wed, 22 Mar 2006 16:15:21 +0000
Subject: Re: Reading data from SELECT in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232414@lists.php.net to get a copy of this message
Hello friends, I've create a form containing a SELECT under JavaScript, where the user decide all list's elements. My problem is how can I get all list's elements on PHP. Using $-POST[] I only get the selected option. With my most sincere thanks. Lorca
Lorca: Yes, a SELECT only returns one value. You might want to look at: http://www.weberdev.com/get_example-1739.html It show one way to combine php and javascript variables. tedd PS: Probably a typo, but it's $_POST[] -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#232414) next »