Php/docs/function.px-numfields

来自菜鸟教程
跳转至:导航、​搜索

px_numfields

(PECL paradox >= 1.0.0)

px_numfieldsReturns 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().