← All docs

mysqli_data_seek()

Moves a buffered result's row cursor to an offset.

mysqli_data_seek()

function mysqli_data_seek(mixed $result, int $offset): bool

Moves a buffered result’s row cursor to an offset.

Parameters:

  • $result (mixed)
  • $offset (int)

Returns: bool

Availability

  • Compiled (AOT): supported through an injected elephc-PHP prelude.
  • eval() (magician interpreter): not available inside eval’d code.

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

Internals

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