dba_fetch

(PHP 3>= 3.0.8, PHP 4 >= 4.0b2)

dba_fetch -- Fetch data specified by key

Description

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