PHP 매뉴얼
이전 |  | 다음

# pg_num_fields

(PHP 4 >= 4.2.0, PHP 5)

pg_num_fields -- Returns the number of fields

## Description

int pg_num_fields ( resource result)

pg_num_fields() returns the number of fields (columns) in a PostgreSQL `result`. The argument is a result resource returned by pg_query(). This function will return -1 on error.

> 참고: This function used to be called `pg_numfields()`.

See also pg_num_rows() and pg_affected_rows().

이전 | 처음으로 | 다음
pg_meta_data | 위로 | pg_num_rows