← All docs

mysqli_num_rows()

Returns how many rows a result has.

mysqli_num_rows()

function mysqli_num_rows(mixed $result): mixed

Returns how many rows a result has.

Parameters:

  • $result (mixed)

Returns: mixed

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_num_rows is implemented in the compiler, see the internals page.