|
pg_field_nameReturns the name of a field Description
string pg_field_name
( resource
$result
, int $field_number
)
pg_field_name returns the name of the field
occupying the given
Parameters
Return Values
The field name, or Examples
Example #1 Getting information about fields
<?php The above example will output: column 0 fieldname: author printed length: 6 characters storage length: -1 bytes field type: varchar column 1 fieldname: year printed length: 4 characters storage length: 2 bytes field type: int2 column 2 fieldname: title printed length: 24 characters storage length: -1 bytes field type: varchar See Also
|