Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in D:\www\tiyu\detail.php on line 30

Fatal error: Call to a member function fetch_array() on a non-object in D:\www\tiyu\detail.php on line 40