1 Star 1 Fork 1

gujiejing / WEBWMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
delslso.php 528 Bytes
一键复制 编辑 原始数据 按行查看 历史
wisdom 提交于 2017-11-03 23:31 . upupup new alll
<?php
header('Content-type: text/html; charset=utf-8');
require_once('connDB.php');
//echo 'delslso.php';
if(isset($_GET['id'])){
$ID = $_GET['id'];
$sql="DELETE FROM `webwms`.`soh` WHERE `soh`.`ID` = $ID";
mysql_query($sql,$dbc);
//$totalNum= mysql_num_rows($result);
$sql="DELETE FROM `webwms`.`sod` WHERE `sod`.`ID` = $ID";
$result1 = mysql_query($sql,$dbc);
$obj->result=1;
$obj->status=1;
$obj->respText="Delete ID: $ID is complete.";
echo json_encode($obj);
return;
}
?>
PHP
1
https://gitee.com/laotou99_admin/WEBWMS.git
git@gitee.com:laotou99_admin/WEBWMS.git
laotou99_admin
WEBWMS
WEBWMS
master

搜索帮助