$con = new mysqli($servername, $username, $password, $mysqldb);
$fineLog = $con->query(
"SELECT * FROM `error_report` "
);
while ($row = mysqli_fetch_array($fineLog)) {
echo $row["errno"];
}
I don"t know why this error occurred
mysqli_fetch_array() expects parameter 1 to be mysqli_result
obviously -> query
has passed