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

User Contributed Notes 1 note

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant