Home > PHP > Function > > px_delete_record()

px_delete_record()

px_delete_record - Deletes record from paradox database

Syntax

bool px_delete_record (resource $pxdoc, int $num)

Arguments

  • pxdoc - Resource identifier of the paradox database as returned by px_new().
  • 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

This function deletes a record from the database. It does not free the space in the database file but just marks it as deleted. Inserting a new record afterwards will reuse the space.

Version

PHP PECL paradox >= 1.4.0

Return value

Returns TRUE on success or FALSE on failure.