dbase_replace_record
Opis
bool dbase_replace_record ( int dbase_identifier, array record, int record_number )Replaces the given record in the database with the given data.
Parametry
dbase_identifier
The database link identifier, returned by dbase_open() or dbase_create().
record
An indexed array of data. The number of items must be equal to the number of fields in the database, otherwise dbase_add_record() will fail.
Notatka: If you're using dbase_get_record() return value for this parameter, remember to reset the key named deleted.
record_number
An integer which spans from 1 to the number of records in the database (as returned by dbase_numrecords()).
Przykłady