dbase_replace_record

(PHP 5 < 5.3.0, dbase 5, dbase 7)

dbase_replace_recordSostituisce un record in un database dBase

Descrizione

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

Sostituisce i dati associati con il record record_number con i dati nel record nel database. Se il numero di items nel record non è uguale al numero di campi nel database, l'operazione fallirà e sarà restituito false.

dbase_record_number è un integer che va da 1 al numero di records nel database (come restituito da dbase_numrecords()).

add a note add a note

User Contributed Notes 1 note

up
0
Anonymous
8 years ago
Make sure you opened the database for WRITE!
dbase_open( "yourfile.dbf", 2)
To Top