📄 update.php
字号:
<?
include_once 'inc/auth.php';
include_once 'inc/utility_all.php';
echo '
<html>
<head>
<title>修改部门</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
$connection = openconnection ();
add_log (4, $DEPT_ID, $LOGIN_USER_ID);
$query = 'update DEPARTMENT set DEPT_NAME=\'' . $DEPT_NAME . '\',TEL_NO=\'' . $TEL_NO . '\',FAX_NO=\'' . $FAX_NO . '\',DEPT_NO=\'' . $DEPT_NO . '\',DEPT_PARENT=' . $DEPT_PARENT . ',DEPT_FUNC=\'' . $DEPT_FUNC . '\' where DEPT_ID=' . $DEPT_ID;
exequery ($connection, $query);
message ('提示', '部门/成员单位信息已保存修改');
echo '
<script>
parent.dept_list.location.reload();
</script>
</body>
</html>
';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -