dbase_replace_record

(PHP 3>= 3.0.11, PHP 4 >= 4.0b1)

dbase_replace_record -- Replace a record in a dBase database

Description

bool dbase_replace_record (int dbase_identifier, array record, int dbase_record_number)

Replaces the data associated with the record record_number with the data in the record in the database. If the number of items in the supplied record is not equal to the number of fields in the database, the operation will fail and FALSE will be returned.

dbase_record_number is an integer which spans from 1 to the number of records in the database (as returned by dbase_numrecords()).