Home > PHP > Function > > px_update_record()

px_update_record()

px_update_record - Updates record in paradox database

Syntax

bool px_update_record (resource $pxdoc, array $data, int $num)

Arguments

  • pxdoc - Resource identifier of the paradox database as returned by px_new().
  • data - Associated array containing the field values as returned by px_retrieve_record().
  • num - The record number is an artificial number counting records in the order as they are stored in the database. The first record has number 0.

Description

Updates an exiting record in the database. The record starts at 0.

Version

PHP PECL paradox >= 1.4.0

Return value

Returns TRUE on success or FALSE on failure.