PHP » GoLang |
login |
register |
about
|
pg_num_fields(PHP 4 >= 4.2.0, PHP 5, PHP 7) pg_num_fields — Returns the number of fields in a result Description
int pg_num_fields
( resource
$result
)pg_num_fields() returns the number of fields (columns) in a PostgreSQL result resource.
Parameters
Return ValuesThe number of fields (columns) in the result. On error, -1 is returned. Examples
Example #1 pg_num_fields() example
<?php The above example will output: 2 field(s) returned. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|