dba_firstkey

(PHP3 >= 3.0.8, PHP4 >= 4.0b2)

dba_firstkey -- Fetch first key

Description

string dba_firstkey (int handle)

Dba_firstkey() returns the first key of the database specified by handle and resets the internal key pointer. This permits a linear search through the whole database.

Handle is a database handle returned by dba_open().

Dba_firstkey() returns the key or false depending on whether it succeeds or fails, respectively.

See also: Dba_nextkey()