PHP 批量删除 sql语句_PHP
- WBOY原创
- 2016-06-01 12:23:061090浏览
首先要了解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.bitsCN.com/article/6488.htm
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn