Forum und email

dbmreplace

(PHP 4)

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

说明

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.

参数

dbm_identifier

The DBM link identifier, returned by dbmopen().

key

The replaced key

value

The new value

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见