PHP batch deletion techniques_PHP tutorial

WBOY
Release: 2016-07-13 17:38:04
Original
692 people have browsed it

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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!