PHP. Руководство по PHP. 2005
maxdb_field_seek
maxdb_field_seek
(PECL)maxdb_field_seek
(no version information, might be only in CVS)result->field_seek -- Set result pointer to a specified field offset
Description
Procedural style:bool maxdb_field_seek (resource result, int fieldnr)
Object oriented style (method):class result {
bool field_seek (int fieldnr)
}
Sets the field cursor to the given offset. The next call to maxdb_fetch_field() will retrieve the field definition of the column associated with that offset.
Замечание: To seek to the beginning of a row, pass an offset value of zero.
Return values
maxdb_field_seek() returns previuos value of field cursor.
See also
Example
Пример 2. Procedural style
|
The above examples would produce the following output:
Name: NAME |
maxdb_field_count
maxdb_field_tell