📄 delete_story.php
字号:
<?php // delete_story.php include_once('include_fns.php'); $handle = db_connect(); $story = $_REQUEST['story']; if(check_permission($_SESSION['auth_user'], $story)) { $query = "delete from stories where id = $story"; $result = $handle->query($query); } header('Location: '.$_SERVER['HTTP_REFERER']);?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -