复制代码 代码如下:
SQL:$SQL="delete from `doing` where id in ('1,2,3,4')";
复制代码 代码如下:
<form action="?action=doing" method="post">
<input type="checkbox" value="1"/>
<input type="checkbox" value="2"/>
<input type="checkbox" value="3"/>
<input type="checkbox" value="4"/>
<input type="submit"/>
</form>
复制代码 代码如下:
$ID_Dele= implode(",",$_POST['ID_Dele']);
$SQL="delete from `doing` where id in ($ID_Dele)";
新闻热点
疑难解答