📄 add.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.php" );
include_once( "inc/check_type.php" );
include_once( "inc/utility_all.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 ( $ITEM_ID == "" )
{
$query = "insert into EXPS_ITEM(ITEM_NAME,ITEM_PRICE,ITEM_UNIT,ORDERNO) values ('".$ITEM_NAME."','{$ITEM_PRICE}','{$ITEM_UNIT}','{$ORDERNO}')";
}
else
{
$query = "update EXPS_ITEM set ITEM_NAME='".$ITEM_NAME."',ITEM_PRICE='{$ITEM_PRICE}',ITEM_UNIT='{$ITEM_UNIT}',ORDERNO='{$ORDERNO}' where ITEM_ID={$ITEM_ID}";
}
exequery( $connection, $query );
echo "\r\n<script>\r\nparent.location=\"index.php\";\r\n</script>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -