Home > PHP > Function > FrontBase > fbsql_field_seek()

fbsql_field_seek()

fbsql_field_seek - Set result pointer to a specified field offset

Syntax

bool fbsql_field_seek (resource $result, int $field_offset)

Arguments

  • result - A result identifier returned by fbsql_query() or fbsql_db_query().
  • field_offset - The numerical offset of the field. The field index starts at 0.

Description

Seeks to the specified field offset. If the next call to fbsql_fetch_field() doesn't include a field offset, the field offset specified in fbsql_field_seek() will be returned.

Version

PHP 4.0.6, 5

Return value

Returns TRUE on success or FALSE on failure.