ref dbm XRFXUPG7BVEQL4QGQAMVY5ZSZVCDOSHKY7WERWI


DBM FunctionsPodręcznik PHPPoprzedniNastępnyXVIII. DBM Functions These functions allow you to store records stored in a dbm-style database. This type of database (supported by the Berkeley DB, GDBM, and some system libraries, as well as a built-in flatfile library) stores key/value pairs (as opposed to the full-blown records supported by relational databases). Przykład 1. DBM example$dbm = dbmopen ("lastseen", "w"); if (dbmexists ($dbm, $userid)) { $last_seen = dbmfetch ($dbm, $userid); } else { dbminsert ($dbm, $userid, time()); } do_stuff(); dbmreplace ($dbm, $userid, time()); dbmclose ($dbm); Spis treścidbmopen -- Opens a DBM databasedbmclose -- Closes a dbm databasedbmexists --  Tells if a value exists for a key in a DBM database dbmfetch --  Fetches a value for a key from a DBM database dbminsert --  Inserts a value for a key in a DBM database dbmreplace --  Replaces the value for a key in a DBM database dbmdelete --  Deletes the value for a key from a DBM database dbmfirstkey --  Retrieves the first key from a DBM database dbmnextkey --  Retrieves the next key from a DBM databasedblist --  Describes the DBM-compatible library being used PoprzedniSpis treściNastępnydbase_numrecordsPoczątek rozdziałudbmopen

Wyszukiwarka

Podobne podstrony:
ref dbm
ref dbm
ref oracle
ref math
ref misc
ref xml
ref sybase
percepcja ref
ref dbx
ref ingres
ref overload
ref xmlrpc
ref exec
ref aspell
ref oracle
Ref B2 Fechner
ref mssql
ref
ref dbx

więcej podobnych podstron