PHP 手冊
上一頁 |  | 下一頁

# dba_firstkey

(PHP 3>= 3.0.8, PHP 4 , PHP 5)

dba_firstkey -- Fetch first key

## Description

string dba_firstkey ( resource 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(), dba_key_split() and example 2 in the DBA examples

上一頁 | 最開頭 | 下一頁
dba_fetch | 上一層 | dba_handlers