Home  >  Article  >  Backend Development  >  PHP batch deletion techniques_PHP tutorial

PHP batch deletion techniques_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:38:04709browse

First of all, you must understand the sql statement
$SQL="delete from `bkJia` where id in (1,2,4)";
The form is probably:







PHP functions mainly use implode

$ID_Dele= implode(",",$_POST[ID_Dele]);
$SQL="delete from `user` where id in ($ID_Dele)";

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486521.htmlTechArticleFirst of all, you must understand the sql statement $SQL=delete from `PHP100` where id in (1,2,4); The form is probably: form action= method=post input name=ID_Dele[] type=checkbox id=ID_Dele[] value=1/ input n...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn