代码
<?php session_start(); header("Content-type:text/html;charset=utf-8"); $link = mysqli_connect('localhost','账户','密码','test');【已填,为了保密。】 if (!$link) { die("连接失败:".mysqli_connect_error()); } $username = $_POST['username']; $password = $_POST['password']; $confirm = $_POST['confirm']; $email = $_POST['email']; if($username == "" || $password == "" || $confirm == "" || $email == "") { echo ""; }else{ echo "网站中显示Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /home/123654lghx182w3b6i5p4vlvgvh/wwwroot/zhuce/zhuce.php on line 49是怎么回事,急求答复!