update : 2015.11.03
php.shukuma.com검색:
|
pg_fetch_assoc(PHP 4 >= 4.3.0, PHP 5) pg_fetch_assoc — Fetch a row as an associative array 설명
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. 인수
반환값
An array indexed associatively (by field name).
Each value in the array is represented as a
string. Database NULL
values are returned as
예제
Example #1 pg_fetch_assoc() example
<?php 참고
|