网站首页

>>

PHP初级教程手册


函数:dba_exists()



dba_exists

检查键是否存在。

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

返回值: 布尔值

函数种类: 数据库功能

内容说明

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

参考

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



整理: (www.phpernote.com)

[ 上一页   目录页   下一页 ]

|