实现批量删除,需要获取选中框的参数。执行删除功能的页面。

$ID_Dele= implode("','",$_POST['ID_Dele']);
$q ="delete from zhidaosoft_message where id in ('".$ID_Dele."') and username='".htmlspecialchars($_COOKIE["username"])."'";