php接收多选框数据问题
<input name="zimu[]" type="checkbox" value="001" id="option_1"/>AAA
<input name="zimu[]" type="checkbox" value="002" id="option_2"/>BBB
<input name="zimu[]" type="checkbox" value="003" id="option_3"/>CCC
<input name="zimu[]" type="checkbox" value="004" id="option_4"/>DDD
foreach($_POST['zimu'] as $id) {
$sql = "update tbl_name set option_click=option_click+1 where option_id='$id'";
//执行即可