当前位置:Gxlcms > PHP教程 > PHP批量删除sql语句_PHP教程

PHP批量删除sql语句_PHP教程

时间:2021-07-01 10:21:17 帮助过:12人阅读

首先要了解sql语句
$SQL="delete from `jb51` where id in (1,2,4)";
表单大概是:
代码如下:


php函数主要用到implode
代码如下:
$ID_Dele= implode(",",$_POST['ID_Dele']);
$SQL="delete from `user` where id in ($ID_Dele)";

http://www.gxlcms.com/article/6488.htm

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/320064.htmlTechArticle首先要了解sql语句 $SQL="delete from `jb51` where id in (1,2,4)"; 表单大概是: 代码如下:

form action="" method="post" input name="ID_Dele[]" type="chec...

人气教程排行