📄 update.php
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>修改代码</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
$query = ((((((''.'SELECT * from SYS_CODE where CODE_NO=\'').$CODE_NO).'\' and PARENT_NO=\'').$PARENT_NO).'\' and CODE_ID!=').$CODE_ID);
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
message ('提示', (('代码编号'.$CODE_NO).'已存在!'));
button_back ();
exit ();
}
$query = ((((((((''.'update SYS_CODE set CODE_NO=\'').$CODE_NO).'\',CODE_NAME=\'').$CODE_NAME).'\',CODE_ORDER=\'').$CODE_ORDER).'\' where CODE_ID=').$CODE_ID);
exequery ($connection, $query);
$query = (((''.'SELECT * from SYS_CODE where CODE_NO=\'').$PARENT_NO).'\' and PARENT_NO=\'\'');
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
$CODE_ID = $ROW['CODE_ID'];
}
header (((''.'location:index.php?CODE_ID=').$CODE_ID));
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -