Date: 10/09/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] Dr Watson comes up with php.exe"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7091 Updated: Failure to compile using --with-java and kaffe 1.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: gsc <email protected>
Operating system: Solaris 7
PHP version: 3.0.13
PHP Bug Type: Misbehaving function
Bug description: Form Select Multiple into PHP Array: works only one time per HTML form
Using the following construct works fine with PHP3. The selected values are retrievable as A[0], A[1], ...
<select multiple name="A[]" size=4>
...
</select>
But if I use more than one multiple select in the same form, say add the following lines
<select multiple name="B[]" size=4>
...
</select>
I found that PHP3 would fill only one array with selected values. In the case with two multiple selects as above, only the latter variable name is set with the selected values B[0], B[1], ..., but the first variable A, A[], A[0], A[1], ..., is not set at all.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] Dr Watson comes up with php.exe"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7091 Updated: Failure to compile using --with-java and kaffe 1.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

