update.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 32 行

PHP
32
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.php';
  ob_start ();
  echo '
<html>
<head>
<title>修改邮件箱</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
  if (!is_numeric ($BOX_NO))
  {
    message ('错误', '编号必须是数字');
    button_back ();
    exit ();
  }
  if (($BOX_NO <= 0))
  {
    message ('错误', '编号必须大于0');
    button_back ();
    exit ();
  }
  $query = ((((((''.'update EMAIL_BOX set BOX_NO=\'').$BOX_NO).'\',BOX_NAME=\'').$BOX_NAME).'\' where BOX_ID=').$BOX_ID);
  exequery ($connection, $query);
  header ('location: index.php');
  echo '</body>
</html>
';
?>

⌨️ 快捷键说明

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