How to post multiple <input type=“checkbox” /> as array in PHP?

前端 未结 5 970
悲哀的现实
悲哀的现实 2020-12-04 01:15

So that in PHP I can deal with them as :

foreach($_POST[\'checkboxname\'] as $i => $value)
...
5条回答
  •  鱼传尺愫
    2020-12-04 02:03

    
    	
    	
    	
    		 1 
    2
    3

提交回复
热议问题