If you are programming in PHP, the problem is there. When using multi-selective inputs, PHP requires an empty pair of brackets after the input name. For example:
<select name="select[]" multiple="multiple">
not just
<select name="select" multiple="multiple">
If you donโt or donโt (perhaps you donโt have access to the basic HTML), you can also write POST data as follows:
$data_from_post = file_get_contents("php://input"); var_dump($data_from_post);
And you will see a line that you can use:
select=one&select=two&select=three&button=submit
pbarney
source share