How is it possible in PHP to know the number of rows returned in the result set?

How is it possible in PHP to know the number of rows returned in the result set?

1 Like

The mysqli_num_rows() function returns the number of rows in a result set .