PHP批量删除技巧
程序员文章站
2024-01-13 19:25:58
...
首先要了解sql语句
$SQL="delete from `bkJia` where id in (1,2,4)";
表单大概是:
php函数主要用到implode
$ID_Dele= implode(",",$_POST[ID_Dele]);
$SQL="delete from `user` where id in ($ID_Dele)";
上一篇: PHP设计模式系列