函数:dba_exists()


dba_exists

检查键是否存在。

语法: boolean dba_exists(string key, int handle);

返回值: 布尔值

函数种类: 数据库功能

内容说明

本函数用来检查指定的键是否存在。参数 key 为待检查的键值 (key)。参数 handle 为打开数据库时所返回来的代号 ID。若键存在则返回 true 值。

参考

dba_delete()  dba_fetch()  dba_insert()  dba_replace()  



[ 上一页 PHP 手册 下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序