|
pg_field_nameReturns the name of a field Description
string pg_field_name(PgSql\Result
$result , int $field )
pg_field_name returns the name of the field
occupying the given
Parameters
Return ValuesThe field name. Changelog
Examples
Example #1 Getting information about fields
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
|