警告:mysqli_fetch_array()期望参数1为mysqli_result,boolean在? [重复]

This question already has an answer here:

here is my code , I could not find where's the problem!

<?php

include("dbc.php");
$result = mysqli_query($dbc,"SELECT * FROM employee");

while($row = mysqli_fetch_array($result))
{
    echo $row['name'] . " " . $row['age']." ".$row['id'];
    echo "<br>";
}
?>
</div>

mysqli_query "Returns FALSE on failure."

Please double check whether $dbc is really created and of expected type.

See: http://www.php.net/mysqli_query