PHP » GoLang |
login |
register |
about
|
pg_field_num(PHP 4 >= 4.2.0, PHP 5, PHP 7) pg_field_num — Returns the field number of the named field Description
int pg_field_num
( resource
$result
, string $field_name
)
pg_field_num() will return the number of the
field number that corresponds to the
Parameters
Return ValuesThe field number (numbered from 0), or -1 on error. Examples
Example #1 Getting information about fields
<?php The above example will output: Column 'title' is field number: 2 |
more
Recently updated
more
Most requested
more
Last requests
|