Home > PHP > Function > > px_numfields()

px_numfields()

px_numfields - Returns number of fields in a database

Syntax

int px_numfields (resource $pxdoc)

Arguments

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

Description

Get the number of fields in a database file.

Version

PHP PECL paradox >= 1.0.0

Return value

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