insert.php

来自「通达60%源码」· PHP 代码 · 共 40 行

PHP
40
字号
<?

/* King DeZender(http://www.dezend.org) 2006-03-01 */





include_once 'inc/auth.php';

include_once 'inc/check_type.php';

include_once 'inc/conn.php';

echo '

<html>

<head>

<title></title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

</head>



<body class="bodycolor" topmargin="5">



';

if (!(is_number ($PRCS_ID)))

{

	message ('错误', '序号应为整数');

	button_back ();

	exit ();

}



$query = 'insert into FLOW_PROCESS(FLOW_ID,PRCS_ID,PRCS_NAME,PRCS_TO,PLUGIN) values (' . $FLOW_ID . ',' . $PRCS_ID . ',\'' . $PRCS_NAME . '\',\'' . $PRCS_TO . '\',\'' . $PLUGIN . '\')';

exequery ($connection, $query);

if ($GRAPH == 1)

{

	echo '<script>parent.opener.location.reload();window.close();</script>

';

}

else

{

	header ('location: index.php?FLOW_ID=' . $FLOW_ID);

}



echo '

</body>

</html>';

?>

⌨️ 快捷键说明

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