PHP » GoLang |
login |
register |
about
|
pg_fetch_assoc(PHP 4 >= 4.3.0, PHP 5, PHP 7) pg_fetch_assoc — Fetch a row as an associative array Description
array pg_fetch_assoc
( resource
$result
[, int $row
] )pg_fetch_assoc() returns an associative array that corresponds to the fetched row (records).
pg_fetch_assoc() is equivalent to calling
pg_fetch_array() with
pg_fetch_assoc() is NOT significantly slower than using pg_fetch_row(), and is significantly easier to use. Parameters
Return Values
An array indexed associatively (by field name).
Each value in the array is represented as a
string. Database NULL
values are returned as
Examples
Example #1 pg_fetch_assoc() example
<?php See Also
|
more
Recently updated
more
Most requested
|