📄 del_pass.php
字号:
<?php
include("../config.php");
include("../function.php");
$sql="delete from $table where kind=$kind id in(";
$flag=0;
$del_count=0;
for($i=0;$i<$pagesize;$i++){
$check="checkbox".$i;
if ($$check==1){
$del_count++;
if($flag==0){
$del_id=$del_id.$id[$i];
$flag=1;
}else{
$del_id=$del_id.",".$id[$i];
}
}
}
if($del_id!="")
$sql="delete from $table where kind=$kind and id in (".$del_id.")";
else
$sql="delete from $table where kind=$kind and id in (0)";
($link=mysql_pconnect($host,$user,$password))||(die("can not link mysql"));
mysql_db_query($db,$sql)||die("cna not run sql");
header("location:del.php?pagenow=$pagenow&kind=$kind&del_count=$del_count&alert=1");
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -