您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

dbplus_open

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_open — Open relation file

说明

resource dbplus_open ( string $name )

Opens the given relation file.

参数

name

Can be either a file name or a relative or absolute path name. This will be mapped in any case to an absolute relation file path on a specific host machine and server.

返回值

On success a relation file resource (cursor) is returned which must be used in any subsequent commands referencing the relation. Failure leads to a zero return value, the actual error code may be asked for by calling dbplus_errno().

注释

Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。