Home > PHP > Function > FrontBase > fbsql_fetch_lengths()

fbsql_fetch_lengths()

fbsql_fetch_lengths - Get the length of each output in a result

Syntax

array fbsql_fetch_lengths (resource $result)

Arguments

  • result - A result identifier returned by fbsql_query() or fbsql_db_query().

Description

Stores the lengths of each result column in the last row returned by fbsql_fetch_row(), fbsql_fetch_array() and fbsql_fetch_object() in an array.

Version

PHP 4.0.6, 5

Return value

Returns an array, starting at offset 0, that corresponds to the lengths of each field in the last row fetched by fbsql_fetch_row(), or FALSE on error.