首頁  >  文章  >  後端開發  >  PHP批量删除技巧_PHP教程

PHP批量删除技巧_PHP教程

WBOY
WBOY原創
2016-07-13 17:38:04709瀏覽

首先要了解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)";

 

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/486521.htmlTechArticle首先要了解sql语句 $SQL=delete from `PHP100` where id in (1,2,4); 表单大概是: form action= method=post input name=ID_Dele[] type=checkbox id=ID_Dele[] value=1/ input n...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn