KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
DBA
dba_close
dba_delete
dba_exists
dba_fetch
dba_firstkey
dba_handlers
dba_insert
dba_key_split
dba_list
dba_nextkey
dba_open
dba_optimize
dba_popen
dba_replace
dba_sync
Home
>
PHP
>
Function
>
DBA
>
dba_exists()
dba_exists()
dba_exists - Check whether key exists
Syntax
bool
dba_exists
(
string
$key,
resource
$handle)
Arguments
key - The key the check is performed for.
handle - The database handler, returned by dba_open() or dba_popen().
Description
dba_exists() checks whether the specified key exists in the database.
Version
PHP 4, 5
Return value
Returns TRUE if the key exists, FALSE otherwise.