get record count for table mysqli code example Example: php mysqli number row mysqli_num_rows($result);