1 Star 1 Fork 1

gujiejing / WEBWMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
slsoformf.php 489 Bytes
一键复制 编辑 原始数据 按行查看 历史
wisdom 提交于 2017-11-03 23:31 . upupup new alll
<?php
header('Content-type: text/html; charset=utf-8');
require_once('connDB.php');
if(!isset($_SESSION)){
session_start();
}
//echo "abc";
if((isset($_POST['type']))&&($_POST['type']=="finish")){
$id = $_POST['id'];
$sql="UPDATE `webwms`.`soh` SET `SOState` = 'FINISH' WHERE `soh`.`ID` =$id;";
mysql_query($sql,$dbc);
$obj->status=1;
$obj->result=1;
$obj->reason="Finish Change Complete";
//$obj->sql=$sql;
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

搜索帮助