help with processing lists
Posted: Mon Aug 04, 2003 6:51 am
Hi all. I have created a multiple selection list on an html page and need to process that list using php.
the example list is something like:
<select name=list2 size=5 multiple>
<option value=football>football</option>
<option value=basketball>basketball</option>
<option value=voleyball>voleyball</option>
</select>
However, using import_request_variables does not pass a variable for list2, except if a i have one value selected in which case that value is passed. If i have multiple values selected before i submit the form only the last value is passed.
any ideas on how i can obtain all values included in the list????
the example list is something like:
<select name=list2 size=5 multiple>
<option value=football>football</option>
<option value=basketball>basketball</option>
<option value=voleyball>voleyball</option>
</select>
However, using import_request_variables does not pass a variable for list2, except if a i have one value selected in which case that value is passed. If i have multiple values selected before i submit the form only the last value is passed.
any ideas on how i can obtain all values included in the list????