Date: 10/26/98
- Next message: bbonev <email protected>: "[PHP-DEV] Bug #874: tempnam function does not support $TMPDIR overriding"
- Previous message: zeev: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: junkmail <email protected>
Operating system: Linux
PHP version: 3.0.3
PHP Bug Type: Misbehaving function
Bug description: problem with checkboxes?
in form file:
<input type="Checkbox" name="test" value="one" align="LEFT">one<br>
<input type="Checkbox" name="test" value="two" align="LEFT">two<br>
<input type="Checkbox" name="test" value="one" align="LEFT">three<br>
-or-
<select name="test" size="3" multiple><option value="one">one
<option value="two">two
<option value="three">three
</select>
in submit file:
while (list($var, $value) = each($HTTP_POST_VARS))
{
echo "$var = $value<br>\n";
}
echo $test;
---In the above example, if I were to select one and three, it would generally only return "three" in the resulting script.
Generally, this will result in the last seleted value; it should result in a comma delited list of all selected values, shouldn't it? Help!!
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: bbonev <email protected>: "[PHP-DEV] Bug #874: tempnam function does not support $TMPDIR overriding"
- Previous message: zeev: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

