dbmreplace

(PHP 3, PHP 4, PECL)

dbmreplace -- Replaces the value for a key in a DBM database

Beskrivelse

int dbmreplace ( resource dbm_identifier, string key, string value )

Replaces the value for the specified key in the database.

This will also add the key to the database if it didn't already exist.

Parameterliste

dbm_identifier

The DBM link identifier, returned by dbmopen().

key

The replaced key

value

The new value

Returneringsværdier

Returnerer TRUE ved succes, FALSE ved fejl.

Se også

dbminsert()