|
(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 resultProcedural style:
bool mysqli_data_seek ( mysqli_result result, int offset )Object oriented style (method):
class mysqli_result {The mysqli_data_seek() function seeks to an arbitrary result pointer specified by the offset in the result set represented by result. The offset parameter must be between zero and the total number of rows minus one (0..mysqli_num_rows() - 1).
Anmerkung: This function can only be used with buffered results attained from the use of the mysqli_store_result() or mysqli_query() functions.
mysqli_store_result(), mysqli_fetch_row(), mysqli_fetch_array(), mysqli_fetch_assoc(), mysqli_fetch_object(), mysqli_query() und mysqli_num_rows().
Beispiel 2. Procedural style
|
Das oben gezeigte Beispiel erzeugt folgende Ausgabe:
City: Benin City Countrycode: NGA |
Zurück | Zum Anfang | Weiter |
mysqli_connect | Nach oben | mysqli_debug |
Hosting by: Hurra Communications GmbH
Generated: 2007-01-26 17:57:04