$insert=mysql_query("insert into tb_user(`username`,`true_name`,`password`,`sex`,`tel`,`email`,`qq`,`indexs`,`address`,`tx`) values('$username','$true_name','$password','$sex','$tel','$email','$qq','$indexs','$address','$tx')",$conn); if($insert) { echo "<script>alert('註冊成功!');window.location.href='index.php';</script>"; }else { echo "<script>alert('註冊失敗!');window.location.href='index.php';</script>"; }
頁面跳轉
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.