How does php handle form with multiple selection?
I have a html form which has a select list box from which you can select multiple values because its multiple property is set to multiple. Consider form method is 'GET'. The html code for the form is as follows: Show
I want to
display the selected values in select list box on display.php page. So how are the selected values accessed on display.php page using
asked Mar 9, 2010 at 7:27
Param-GanakParam-Ganak 5,62717 gold badges49 silver badges62 bronze badges 1 If you want PHP to treat Then you can acces the array in your PHP script
answered Mar 9, 2010 at 7:52
5 Change:
To:
answered Mar 9, 2010 at 7:54
CoufuCoufu 2,0011 gold badge11 silver badges4 bronze badges 1 You can use this code to retrieve values from multiple select combo box HTML:
PHP:
Kobi 132k41 gold badges253 silver badges284 bronze badges answered Nov 4, 2010 at 11:33
Use the following program for select the multiple values from select box. multi.php
|