update.php

来自「极限网络智能办公系统 - Office Automation 2008 官方10」· PHP 代码 · 共 22 行

PHP
22
字号
<?php
 

include_once( "inc/auth.php" );
include_once( "inc/check_type.php" );
include_once( "inc/utility_all.php" );
include_once( "inc/utility_sms1.php" );
include_once( "inc/utility_sms2.php" );
echo "\r\n<html>\r\n<head>\r\n<title>发布新闻</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
$query = "update RMS_ROLL_ROOM set DEPT_ID='".$DEPT_ID."',ROOM_CODE='{$ROOM_CODE}',ROOM_NAME='{$ROOM_NAME}',REMARK='{$REMARK}' where ROOM_ID={$ROOM_ID}";
exequery( $connection, $query );
if ( $OP == 0 )
{
	header( "location: modify.php?ROOM_ID=".$ROOM_ID."&CUR_PAGE={$CUR_PAGE}" );
}
else
{
	header( "location: index1.php?CUR_PAGE=".$CUR_PAGE );
}
echo "\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?