Hi PhpFreaks,
I'm currently trying to create a php form which includes a select box from which a user can select multiple values.
The only things is, I'm not really sure how HTML forms post multiple select values, or how to interpret them in PHP.
The good old:
$multipleselect = ($_GET['selectbox'])
echo $multiple select;
brings up no value. In the URL, it reads
http://www......../testingmultipleforminputs.php?multipleselect=a&multipleselect=b
Ideally, I'm hoping to separate each selected item by a comma, and then explode the resulting string into a php array.
Any ideas sincerely appreciated.
Cheers,
- JB