delete_sms.php
来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 42 行
PHP
42 行
<?
include_once 'inc/auth.php';
if ($SEND_FLAG)
{
if (is_int ($SMS_ID))
{
$query = ((''.'delete from SMS2 where SMS_ID=').$SMS_ID);
exequery ($connection, $query);
}
else
{
$SMS_ID1 = strtok ($SMS_ID, ',');
while (($SMS_ID1 != FALSE))
{
$query = ((''.'delete from SMS2 where SMS_ID=').$SMS_ID1);
exequery ($connection, $query);
$SMS_ID1 = strtok (',');
}
}
header ('location: send_manage.php');
}
else
{
if (is_int ($SMS_ID))
{
$query = ((''.'delete from SMS3 where SMS_ID=').$SMS_ID);
exequery ($connection, $query);
}
else
{
$SMS_ID1 = strtok ($SMS_ID, ',');
while (($SMS_ID1 != FALSE))
{
$query = ((''.'delete from SMS3 where SMS_ID=').$SMS_ID1);
exequery ($connection, $query);
$SMS_ID1 = strtok (',');
}
}
header ('location: receive_manage.php');
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?