Retruve the multiple value from the select multiple tag in PHP
Posted on 2004-04-06
I have an html file which has a select tag with multiple selection and i want to get the selected multiple value from that html file to the php file
html file is as follows
<select name = "option" multiple>
PHP file is as follows
$selectvalue = $_POST['option'];
but in this php file i'm getting only one value and i'm nit getting multiple value.
Please help me out to solve this .
or give me some example that would help me out