前端的收费系统该用接口等怎么去实现
发布网友
发布时间:2022-05-06 01:39
我来回答
共1个回答
热心网友
时间:2022-06-28 11:36
if(isset($_POST['submit'])){
$sql1="update H_Guest set G_TrueName='{$_POST['G_TrueName']}',G_Sex='{$_POST['G_Sex']}',G_IDNum='{$_POST['G_IDNum']}',G_Address='{$_POST['G_Address']}',G_Phone='{$_POST['G_Phone']}',G_Email='{$_POST['G_Email']}' where G_ID='{$_POST['G_ID']}'";
$query1=mysql_query($sql1);
if($query1){
echo "<script language='javascript'>";
echo "alert";
echo "window.location.href='personal.php';";
echo "</script>";
}
}