File: //www/备份的/hz.xxlht.com/detail_post.php
<?php
include_once('connect.php');
$aid=$_POST['aid'];
$zhuantai =$_POST['zhuantai'];
$kefu = json_encode($_POST['kefu']);
$kflj = json_encode($_POST['kflj']);
$diqu = json_encode($_POST['diqu']);
$sh = $_POST['sh'];
$tg = $_POST['tg'];
$tongji = $_POST['tongji'];
$mysqli->query("UPDATE `houtai_archives` SET `kefu` = '" . $kefu . "' ,`kflj` = '" . $kflj . "', `zhuantai` = '" . $zhuantai . "',`diqu` = '" . $diqu . "', `sh` = '" . $sh . "' , `tg` = '" . $tg . "', `tongji` = '" . $tongji . "' WHERE `aid` = " . $aid . "");
echo "<script>alert('修改成功');location.href='houtai.php';</script>";
//header("Location:index.php");echo "<script>alert('恭喜您修改成功!');window.history.go(-1);';</script>";