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\'. T
If you want PHP to treat $_GET['select2'] as an array of options just add square brackets to the name of the select element like this:
$_GET['select2']
Then you can acces the array in your PHP script
$_GET may be substituted by $_POST depending on the value.
$_GET
$_POST
value.