Home > Article > Backend Development > sql statement PHP batch delete sql statement
First of all, you need to understand the sql statement
$SQL="delete from `jb51` where id in (1,2,4)";
The form is probably:
Copy the code The code is as follows:
Copy code The code is as follows:
$ID_Dele= implode(",",$_POST['ID_Dele']);
$SQL="delete from `user` where id in ($ID_Dele)";
The above introduces the sql statement PHP batch delete sql statement, including the content of sql statement. I hope it will be helpful to friends who are interested in PHP tutorials.