how to return record count from mysqli_query code example Example: php mysqli number row mysqli_num_rows($result);