Forum und email

dbminsert

(PHP 4)

dbminsert — Inserts a value for a key in a DBM database

설명

int dbminsert ( resource $dbm_identifier , string $key , string $value )

Adds the value to the database with the specified key.

매개변수

dbm_identifier

dbmopen()이 반환한 DBM 연결 식별자입니다.

key

The added key

value

The added key value

반환값

Returns -1 if the database was opened read-only, 0 if the insert was successful, and 1 if the specified key already exists. (To replace the value, use dbmreplace().)