|
Posted by Oak Hall on 10/28/58 11:23
Out take from the form, I get all the variables fine from the form, but the
Multiple gives only one of the selected ones. Also
print_r($_POST["Locations"]); shows only one value. Taking the same form
pointing it to another server language (paradox) works fine. Thanks Oak
<FORM name="searcher"
ACTION="/php/ide/data/frontend.php?lib=mls&cmd=PropertySearchPost"
METHOD="POST" >
<input type="text" size="4" name="MinAcres" value="">
<input type="text" size="4" name="MaxAcres" value=""><BR>
<SELECT MULTIPLE NAME="Locations" SIZE="10">
<OPTION SELECTED VALUE="All">All AREAS
<OPTION VALUE=",2459">Braxton
<OPTION VALUE="2459"> flatwoods
(1)
<OPTION VALUE=",2259,2205,2206,2207">Fayette
</SELECT>
SUBMIT BUTTON
</FORM>
"Ken Robinson" <kenrbnsn@rbnsn.com> wrote in message
news:1123427285.400176.65270@g14g2000cwa.googlegroups.com...
>
> Oak Hall wrote:
>> foreach($_POST as $element=>$val)
>> {
>> echo $element.'--'.$val.'<BR>';
>> }
>>
>> Where a select multiple html field had several selected values only shows
>> one?? How do I get the others. php 5.1b
>
> How is your form defined?
>
> Ken
>
Navigation:
[Reply to this message]
|