pg_field_type

(PHP 4 >= 4.2.0)

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.

Note: This function used to be called pg_field_type().

See also pg_field_len() and pg_field_name().