|
Posted by No_One on 01/21/06 13:25
We never use html select for multiple choices, however, this time I have to
and I can't get the php coding to work...I can't get it to return multiple
values
<form action="something.php" method="POST">
<select name"test" MULTIPLE SIZE="5">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
<option value="5">five</option>
<option value="6">six</option>
</select>
When something.php is called after select...i have;
echo $_POST['test'];
and only get one value, not an array, nor a string of value, just one single
value...
What am I doing wrong....
Any help appreciated...oh, I have check the html books and other sources,
I'm blind, stupid or both...I just can't see the problem.
ken
[Back to original message]
|