Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | DalÅ¡Ã |
mysqli_field_seek
(PHP 5)
mysqli_field_seek(no version information, might be only in CVS)
result->field_seek() -- Set result pointer to a specified field offsetPopis
Procedural style:
bool mysqli_field_seek ( mysqli_result result, int fieldnr )Object oriented style (method):
class mysqli_result {bool field_seek ( int fieldnr )
}
Sets the field cursor to the given offset. The next call to mysqli_fetch_field() will retrieve the field definition of the column associated with that offset.
Poznámka: To seek to the beginning of a row, pass an offset value of zero.
Seznam parametrů
result
Procedural style only: A result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result().
fieldnr
The field number. This value must be in the range from 0 to number of fields - 1.
PÅ™Ãklady
PÅ™Ãklad 2. Procedural style
|
Výše uvedený pÅ™Ãklad vypÃÅ¡e:
Name: SurfaceArea Table: Country max. Len: 10 Flags: 32769 Type: 4 |
PÅ™edcházejÃcà | Domů | DalÅ¡Ã |
mysqli_field_count | Nahoru |