Hello everybody,
I have a problem. I have a listbox in the form and a submit button. the listbox has multiple selection enabled. Im able to select multiple values in the listbox.

<select name="selectedprop" size="10" multiple="multiple" id="selectedprop" >

<input name="Submit" type="submit" class="style54" value="SET RANKS" />

now when i submit this form, i want all the values selected, how can i do that.

regards
Mohsin iqbal

    suppose your form submits using POST to 'form_handler.php'. You can see what values you are receiving in there by doing this in form_handler.php:

    print_r($_POST);
    

      A multi-select select box will post an array of values 😉

        Write a Reply...