multiple selection
| From: | Zhang.Joyce/�ŵt | Date: | Mon, 21 Aug 2000 06:29:26 +0000 |
| Subject: | multiple selection | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30019@lists.php.net to get a copy of this message | ||
hi, i need your help.
does anyone know how to get the value passed from a multiple selection in a
HTML page?
for exapmle:
<html>
<form method = "post">
<select name="test" multiple>
<option value=1>1</option>
<option value=2>2</option>
<option value=3>3</option>
</form>
</html>
if choose item 1 and 3, i couldn't get the total value, instead, i just find
that the value of $test is the last value of item i selected, why? and
could you tell me how to fetch total value?
thx
Joyce