This question already has an answer here:
What is my error in php code, I get the following error, I hope your help
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:\xampp1\htdocs\blog\blog.php on line 45
</div>
Because you aren't supplying us with any code, we can't really tell... But usually that error occurs when the query is invalid, resulting in "false" (thus boolean). in your query, use mysqli_error(), example:
mysqli_query($link, "SELECT * FROM blabla WHERE bla=3") or die(mysqli_error($link));
Don't forget to remove the "or die " after debugging, because it's a very cheap way of displaying an error.