Home > PHP > Function > dBase > dbase_get_record()

dbase_get_record()

dbase_get_record - Gets a record from a database as an indexed array

Syntax

array dbase_get_record (int $dbase_identifier, int $record_number)

Arguments

  • dbase_identifier - The database link identifier, returned by dbase_open() or dbase_create().
  • record_number - The index of the record.

Description

Gets a record from a database as an indexed array.

Version

PHP 4, 5

Return value

An indexed array with the record. This array will also include an associative key named deletedwhich is set to 1 if the record has been marked for deletion (see dbase_delete_record()).