这样在PHP里可以如下处理:
foreach($_POST['label'] as $i => $value) ...
可以,只要name属性加[]即可:
name
[]
<input type="checkbox" name="label[]" /> <input type="checkbox" name="label[]" />
标签
查看
355 次