📄 input_submit.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
include_once( "../prcs_role.php" );
if ( !run_role( $RUN_ID, $PRCS_ID ) )
{
exit( );
}
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";
$connection = openconnection( );
$I = 1;
for ( ; $I <= $ITEM_ID_MAX; ++$I )
{
$STR = "DATA_".$I;
$query = "select * from FLOW_RUN_DATA where RUN_ID={$RUN_ID} and ITEM_ID={$I}";
$cursor = exequery( $connection, $query );
if ( mysql_fetch_array( $cursor ) )
{
$query = "update FLOW_RUN_DATA set ITEM_DATA='".$$STR."' where RUN_ID={$RUN_ID} and ITEM_ID={$I}";
}
else
{
$query = "INSERT INTO FLOW_RUN_DATA (RUN_ID,ITEM_ID,ITEM_DATA) VALUES ({$RUN_ID},{$I},'".$$STR."')";
}
exequery( $connection, $query );
}
header( "location: input_form.php?RUN_ID={$RUN_ID}&FLOW_ID={$FLOW_ID}&PRCS_ID={$PRCS_ID}&FLOW_PRCS={$FLOW_PRCS}&SAVE_FLAG=1" );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -