if(@$_POST["submit"]){
$id = $_POST["id"];
$name = $_POST["name"];
$age = $_POST["年齢"];
$tel = $_POST["tel"];
$アドレス = $_POST["アドレス"];
$conn = @mysql_connect("localhost","root","ROOT") or die("数据库连接超時,请稍后再试!");
mysql_select_db("test",$conn);
mysql_query("set names 'utf8'");
$sql = "select * from `student`";
$sql = "INSERT INTO `student`(`id`, `name`, `age`, `tel`, `address`) VALUES ('$id','$name','$age','$電話番号','$アドレス')";
mysql_query($sql);
}
?>