PHP

다중체크박스 값 배열로 보낼때

이상욱1 2015. 11. 20. 10:47

   foreach ($aList as  $skey => $val){

                            

<td><input type="checkbox" name="deluserid[]" value="<?php echo $val['user_id']?>" class="fChk rowChk" /></td>

}

name 에 [] 를 넣어주면 된다