(资料图片仅供参考)
织梦dedecms后台新建 sys_check.php 。GetOne("SELECT * FROM `dede_sysconfig` WHERE aid="$id"");$info=$row["info"];if( $action == "del" ){ $id = explode("`", $id); foreach ($id as $var) { $query = "delete from `dede_sysconfig` WHERE `aid` = "$var""; $dsql->ExecuteNoneQuery($query); } ShowMsg("已删除变量 $info ","sys_info.php"); exit();}?> |