Home > PHP > Function > > px_numrecords()

px_numrecords()

px_numrecords - Returns number of records in a database

Syntax

int px_numrecords (resource $pxdoc)

Arguments

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

Description

Get the number of records in a database file.

Version

PHP PECL paradox >= 1.0.0

Return value

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