So, I have an HTML/PHP form that has a select list box from which you can select multiple values because its multiple properties are set to multiple. Consider the form metho
the code work just right for me:
/home/vagrant/foo/index.php:3:
array (size=2)
'classe' =>
array (size=2)
0 => string '| adjective |' (length=13)
1 => string '| adverb |' (length=10)
'submitSave' => string 'Save' (length=4)
have some special config in PHP?
my test:
edit:
when yo receive array data in PHP, in your case:
the PHP var is $_POST['classes']
not $_POST['classes[]']
and it is an array, if you want to use it as an string you have to use implode