Home > PHP > Function > > px_get_field()

px_get_field()

px_get_field - Returns the specification of a single field

Syntax

array px_get_field (resource $pxdoc, int $fieldno)

Arguments

  • 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.

Description

Version

PHP PECL paradox >= 1.0.0

Return value

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