我没有能够在我的控制器提交这些值。 的代码如下
<input name="status.<?php echo $data['LEAVE_ID']?>" type="radio" class="ace" value="1" checked="" required="" />
<span class="lbl"> YES</span>
<input name="status.<?php echo $data['LEAVE_ID']?>" type="radio" class="ace" value="0"/>
<span class="lbl"> NO</span>
您是否有错误? –
在名称中使用数组属性name =“status [<?php echo $ data ['LEAVE_ID']?>]” – JYoThI
您使用$ _POST []检查了吗? –