PHP 手冊
前一頁 |  | 下一頁

# pg_field_type

(PHP 4 >= 4.2.0, PHP 5)

pg_field_type -- Returns the type name for the corresponding field number

## Description

string pg_field_type ( resource result, int field_number )

pg_field_type() returns a string containing the type name of the given field_number in the given PostgreSQL result resource. Field numbering starts at 0.

See the example given at the pg_field_name() page.

> 注: This function used to be called pg_fieldtype().

See also pg_field_prtlen(), pg_field_name() and pg_field_type_oid().

前一頁 | 內容 | 下一頁
pg_field_type_oid | 上一層 | pg_free_result