update : 2015.11.03
php.shukuma.com검색:
|
pg_num_fields(PHP 4 >= 4.2.0, PHP 5) pg_num_fields — Returns the number of fields in a result 설명
int pg_num_fields
( resource
$result
)pg_num_fields() returns the number of fields (columns) in a PostgreSQL result resource.
인수
반환값The number of fields (columns) in the result. On error, -1 is returned. 예제
Example #1 pg_num_fields() example
<?php 위 예제의 출력: 2 field(s) returned. |