update.php

来自「通达网络办公 - Office Anywhere 2008 增强版100%源码(」· PHP 代码 · 共 20 行

PHP
20
字号
<?php

include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
include_once( "inc/check_type.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";
if ( $DIARY == "on" )
{
	$GROUP_REFER .= "DIARY,";
}
if ( $CALENDAR == "on" )
{
	$GROUP_REFER .= "CALENDAR,";
}
$query = "update SCORE_GROUP set GROUP_NAME='".$GROUP_NAME."',GROUP_DESC ='{$GROUP_DESC}',GROUP_REFER='{$GROUP_REFER}' where GROUP_ID='{$GROUP_ID}'";
exequery( $connection, $query );
header( "location: index.php?CUR_PAGE=".$CUR_PAGE );
echo "\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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