一个js怎样输出指定文字到指定div域?
2个回答
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>";
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询