I can't get multiple selected values of select box in php

后端 未结 1 1830
自闭症患者
自闭症患者 2020-12-22 07:46

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

1条回答
  •  轮回少年
    2020-12-22 08:01

    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:

    
                            
        
    提交评论

提交回复
热议问题