f (mysql_num_rows($results) == 0) code example Example: php mysqli number row mysqli_num_rows($result);