<strong>首先要了解sql语句</strong> <br>$SQL="delete from `jb51` where id in (1,2,4)"; <br>表单大概是: <br><u>复制代码</u> 代码如下:<br><form action="" method="post"> <br><input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="1"> <br><input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="2"> <br><input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="3"> <br><input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="4"> <br><input type="submit"> <br> </form> <br><br>php函数主要用到implode <br><u>复制代码</u> 代码如下:<br>$ID_Dele= implode(",",$_POST['ID_Dele']); <br>$SQL="delete from `user` where id in ($ID_Dele)"; <br><br>http://www.bitsCN.com/article/6488.htm