|
pg_fetch_resultReturns values from a result resource Description
string pg_fetch_result
( resource
$result
, int $row
, mixed $field
)
string pg_fetch_result
( resource
$result
, mixed $field
)pg_fetch_result returns the value of a particular row and field (column) in a PostgreSQL result resource.
Parameters
Return Values
Boolean is returned as "t" or "f". All
other types, including arrays are returned as strings formatted
in the same default PostgreSQL manner that you would see in the
psql program. Database NULL
values are returned as
Examples
Example #1 pg_fetch_result example
<?php The above example will output: First field in the second row is: 2 See Also
|