📄 delete_search.php
字号:
<?php
include_once('logincheck.php');
include_once('myconnect.php');
$strinlist="0";
foreach($_POST as $key => $value)
{
if(stristr($key,"checkbox"))
$strinlist.=",".$value;
}
//echo $strinlist;
//die();
$strquery=" and sb_id in ($strinlist) ";
$query_msg_del="delete from sbbleads_search_results where sb_uid=".$_SESSION["sbbleads_userid"]." $strquery";
// die($query_msg_del);
$rs_del=mysql_query($query_msg_del);
$msgdeleted=mysql_affected_rows();
if($msgdeleted > 0)
{
header("Location: other_confirm_mem.php?errmsg=".urlencode("$msgdeleted search result(s) removed."));
die();
}
else
{
header("Location: other_confirm_mem.php?err=manage_search&errmsg=".urlencode("Unable to remove search results"));
die();
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -