This question already has an answer here:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\centralzoo\addanimal.php on line 134
</div>
your mysql_query()
function does not return any value, check your sql query properly.
mysql_query(
) not return any resultsets.
$result = mysql_query("select * from tablename");
if(!result){
die("Invalid Query ".mysql_error());
}
error message will help to solve this problem.