Manual do PHP
Anterior |  | Próxima

# dba_replace

(PHP 3>= 3.0.8, PHP 4 )

dba_replace -- Replace or insert entry

## Description

bool dba_replace ( string key, string value, resource handle)

dba_replace() replaces or inserts the entry described with `key` and `value` into the database specified by `handle`.

`key` is the key of the entry to be inserted.

`value` is the value to be inserted.

`handle` is a database handle returned by dba_open().

dba_replace() returns `TRUE` or `FALSE`, depending on whether it succeeds of fails, respectively.

See also: dba_exists(), dba_delete(), dba_fetch(), and dba_insert().

Anterior | Principal | Próxima
dba_popen | Acima | dba_sync