时间:2021-07-01 10:21:17 帮助过:23人阅读
$sql="delete from `#@__skupdate_class` where id=".$id."";
$bool = $dsql->ExecuteNoneQuery($sql);
if(!$bool)
{
ShowMsg("课程信息回收站删除失败",'-1');
exit();
}else{
ShowMsg("课程信息回收站删除成功",'update_class.php?dopost=recycling&page='.$page.'');
exit();
}
$sql="Update `#@__skupdate_class` set state=1 where id=".$id."";
$bool = $dsql->ExecuteNoneQuery($sql);
if(!$bool)
{
ShowMsg("课程信息恢复失败",'-1');
exit();
}else{
ShowMsg("课程信息恢复成功",'update_class.php?dopost=recycling&page='.$page.'');
exit();
}
delete from `#@__skupdate_class` where id=".$id."