There is nothing mysterious about the technique of batch deleting articles. I just wanted to write it down and share it with everyone. (Suitable for beginners:)
1. First, on the article list page (list.php), name the multi-select box: "$del_id[]", and the value is the article ID number.
For example (list.php):
2. Processing page (del.php):
if($del_id!=""){
$del_num=count ($del_id);
for($i=0;$i<$del_num;$i++){
mysql_query("Delete from news where id='$del_id[$i]'");
🎜> echo("
Latest Articles by Author
-
2025-02-26 03:58:14
-
2025-02-26 03:38:10
-
2025-02-26 03:17:10
-
2025-02-26 02:49:09
-
2025-02-26 01:08:13
-
2025-02-26 00:46:10
-
2025-02-25 23:42:08
-
2025-02-25 22:50:13
-
2025-02-25 21:54:11
-
2025-02-25 20:45:11