px_get_field

(PECL paradox >= 1.0.0)

px_get_fieldReturns the specification of a single field

说明

px_get_field ( resource $pxdoc , int $fieldno ) : array

参数

pxdoc

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

fieldno

Number of the field. The first field has number 0. Specifying a field number less than 0 and greater or equal the number of fields will trigger an error.

返回值

Returns the specification of the fieldno 'th database field as an associated array. The array contains three fields named name, type, and size.

关注编程学问公众号