(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

dba_fetch -- Fetch data specified by key


string dba_fetch (string key, int handle)

dba_fetch() fetches the data specified by key from the database specified with handle.

Key is the key the data is specified by.

Handle is a database handle returned by dba_open().

dba_fetch() returns the associated string or FALSE, if the key/data pair is found or not found, respectively.

See also: dba_exists(), dba_delete(), dba_insert(), and dba_replace().