Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
mysqli_data_seek
(PHP 5)
mysqli_data_seek(no version information, might be only in CVS)
result->data_seek() -- Adjusts the result pointer to an arbitary row in the resultPopis
Procedural style:
bool mysqli_data_seek ( mysqli_result result, int offset )Object oriented style (method):
class mysqli_result {bool data_seek ( int offset )
}
The mysqli_data_seek() function seeks to an arbitrary
result pointer specified by the offset
in the
result set.
Seznam parametrů
result
Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().
offset
The field offset. Must be between zero and the total number of rows minus one (0..mysqli_num_rows() - 1).
Poznámky
Poznámka: This function can only be used with buffered results attained from the use of the mysqli_store_result() or mysqli_query() functions.
PÅ™Ãklady
PÅ™Ãklad 2. Procedural style
|
Výše uvedený pÅ™Ãklad vypÃÅ¡e:
City: Benin City Countrycode: NGA |
Viz také
mysqli_store_result() |
mysqli_fetch_row() |
mysqli_fetch_array() |
mysqli_fetch_assoc() |
mysqli_fetch_object() |
mysqli_query() |
mysqli_num_rows() |
PÅ™edcházejÃcà | Domů | Dalšà |
mysqli_connect | Nahoru |