delete.php
来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 42 行
PHP
42 行
<?
include_once 'inc/auth.php';
include_once 'inc/utility_all.php';
echo '
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
if (($DELETE_STR != ''))
{
$TOK = strtok ($DELETE_STR, ',');
while (($TOK != ''))
{
del_field_data ('ADDRESS', $TOK);
$query = ((''.'delete from ADDRESS where ADD_ID=').$TOK);
exequery ($connection, $query);
$TOK = strtok (',');
}
}
else
{
del_field_data ('ADDRESS', $ADD_ID);
$query = ((''.'delete from ADDRESS where ADD_ID=').$ADD_ID);
exequery ($connection, $query);
}
echo '
';
echo '<s';
echo 'cript>
parent.menu.location.reload();
location="index.php?GROUP_ID=';
echo $GROUP_ID;
echo '";
</script>
</body>
</html>
';
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?