Forum und email
msql_data_seek

msql_data_seek

(PHP 3, PHP 4, PHP 5)

msql_data_seek -- Move internal row pointer

Opis

bool msql_data_seek ( resource result, int row_number )

msql_data_seek() moves the internal row pointer of the mSQL result associated with the specified query identifier to point to the specified row number. The next call to msql_fetch_row() would return that row.

Parametry

wynik

Wynik w postaci zmiennej typu resource, który jest przetwarzany. Wynik pochodzi z wywołania funkcji msql_query().

row_number

The seeked row number.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.