Delcam crlspln哪里可以学
1个回答
2015-07-25
展开全部
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>";
}
}
$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>";
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询