Html Mutli Select Not Posting Values Back To Php
I have a select box in a html form that does not post values back to php.
Solution 1:
PHP requires that form control names end in []
if you are getting multiple values from the same name.
<select multiple='multiple' name='mydropdown[]'>
It doesn't matter if the reason for getting multiple values is multiple form controls with the same name, or a single select multiple
element.
Post a Comment for "Html Mutli Select Not Posting Values Back To Php"