add.php

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

PHP
27
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.php';
  include_once 'inc/utility_sms1.php';
  echo '
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
  if (($MR_ID == ''))
  {
    $query = (((((((((((''.'insert into MEETING_ROOM(MR_NAME,MR_CAPACITY,MR_DEVICE,MR_DESC,MR_PLACE) values(\'').$MR_NAME).'\',\'').$MR_CAPACITY).'\',\'').$MR_DEVICE).'\',\'').$MR_DESC).'\',\'').$MR_PLACE).'\')');
  }
  else
  {
    $query = ((((((((((((''.'update MEETING_ROOM set MR_NAME=\'').$MR_NAME).'\',MR_CAPACITY=\'').$MR_CAPACITY).'\' ,MR_DEVICE=\'').$MR_DEVICE).'\',MR_DESC=\'').$MR_DESC).'\',MR_PLACE=\'').$MR_PLACE).'\' where MR_ID=').$MR_ID);
  }
  exequery ($connection, $query);
  message ('提示', '保存成功!');
  echo '<center><input type="button" class="BigButton" value="返回" onclick="location=\'index.php\';"></center>
</body>
</html>';
?>

⌨️ 快捷键说明

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