# px_numfields

(PECL paradox >= 1.0.0)

px_numfields — Returns number of fields in a database

### 说明

px_numfields ( resource `$pxdoc` ) : int

Get the number of fields in a database file.

### 参数

`pxdoc`

  Resource identifier of the paradox database as returned by px_new().

### 返回值

Returns the number of fields in a database file. The return value of this function is identical to the element numfields in the array returned by px_get_info().