Php/docs/function.fbsql-fetch-lengths

来自菜鸟教程
跳转至:导航、​搜索

fbsql_fetch_lengths

(PHP 4 >= 4.0.6, PHP 5 < 5.3.0)

fbsql_fetch_lengthsGet the length of each output in a result


说明

fbsql_fetch_lengths ( resource $result ) : array

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.


参数

result
fbsql_query()fbsql_db_query() 返回的结果标识符。


返回值

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.


参见