PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dbmnextkey> <dbmfirstkey
Last updated: Sun, 25 Nov 2007

view this page in

dbminsert

(PHP 4)

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

Description

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

Adds the value to the database with the specified key.

Parameters

dbm_identifier

The DBM link identifier, returned by dbmopen().

key

The added key

value

The added key value

Return Values

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().)

Δείτε επίσης



add a note add a note User Contributed Notes
dbminsert
There are no user contributed notes for this page.

dbmnextkey> <dbmfirstkey
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites