<?php
session_start();
header("Content-type:text/html;charset=utf-8") ;
$link = mysqli_connect('localhost','123654lgh','etjyr2bm','123654lgh');
if (!$link) {
die( "接続失敗:".mysqli_connect_error());
}
$sql = "ログインから * を選択";
$result = mysqli_query($link, $sql );
$rows = mysqli_fetch_array($result);
$username = $_POST['username'];
$password = %
echo "<script>alert('データ挿入に失敗しました');window.location.href='zhuce.html'";
}else{
echo "< script>alert('登録成功');window.location.href='yonghu.html'</script>";
}
}
?> ;