$conn = new mysqli($servername, $username, $password, $mysqldb);
$resultNews = $conn->query("SELECT * FROM `xxx`");
while ($row = $resultNews->fetch_array())
{
}
連線沒有問題!但是他寫:Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean
請問這是哪裡錯了?
莫回无
慕田峪9158850