Home > PHP > Function > FrontBase > fbsql_field_type()

fbsql_field_type()

fbsql_field_type - Get the type of the specified field in a result

Syntax

string fbsql_field_type (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

fbsql_field_type() is similar to the fbsql_field_name() function, but the field type is returned instead.

Version

PHP 4.0.6, 5

Return value

Returns the field type, as a string.