How to POST empty <select .. multiple> HTML elements if empty?

后端 未结 8 1853
醉酒成梦
醉酒成梦 2021-02-18 18:09

I have the following multi-select box in a HTML form, where user can select one or more option.


                
                 0){
                ?>
                
                
                
            

When I do print_r($_POST); on the other side the output is simply: Array ( [acao] => add [id] => 3 ) and no sign of the select tag, even when I change the value on the other side;

提交回复
热议问题