<form action="" method="post">
<input type="hidden" name="group_id" value="{$group_id}">
<volist name='pandas' id='panda'>
<tr>
<td>{$panda.generation_num}</td>
<td><input type="checkbox" name="panda_id[]" value="{$panda.id}"></td>
</tr>
</volist>
<tr>
<td colspan="2" ><button type="submit" style="margin-left: 46%" >提交</button></td>>
</tr>
</form>
用数组作为复选框的name值.
转载请注明原文地址: https://www.6miu.com/read-2622912.html