<?php
session_start();
header("Content-type:text/html;charset=utf-8");
# $link = mysqli_connect('localhost','000000','000000','000000');
if (!$link) {
die("連線失敗:".mysqli_connect_error() );
}
$sql = "從登入選擇*";
$result = mysqli_query($link, $sql);
# $ rows = mysqli_fetch_array($result);
$username = $_POST['username'];
# $password = $_POST['password&
echo "<script>alert('註冊成功');window.location.href='yonghu.html'</script>";
}
#}
?>