PHP Manual: dbminsert
dbminsert
Description
int dbminsert ( resource dbm_identifier, string key, string value )Adds the value to the database with the specified key.
Parameters
dbm_identifierThe DBM link identifier, returned by dbmopen().
keyThe added key
valueThe 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().)