<input type="checkbox" name="chk[]" value=" <?=$rs[$i][ 'res_id ']? >" > 
<input type="checkbox" name="chk[]" value=" <?=$rs[$i][ 'res_id ']? >" > 
<input type="checkbox" name="chk[]" value=" <?=$rs[$i][ 'res_id ']? >" > 
<input type="checkbox" name="chk[]" value=" <?=$rs[$i][ 'res_id ']? >" > 
$_POST['chk']