Home > PHP > Function > dBase > dbase_numrecords()

dbase_numrecords()

dbase_numrecords - Gets the number of records in a database

Syntax

int dbase_numrecords (int $dbase_identifier)

Arguments

  • dbase_identifier - The database link identifier, returned by dbase_open() or dbase_create().

Description

Gets the number of records (rows) in the specified database.

Version

PHP 4, 5

Return value

The number of records in the database, or FALSE if an error occurs.