DB++ 函数
在线手册:中文 英文
PHP手册

dbplus_open

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)

dbplus_openOpen 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 发布版本中未通知就被修改。使用本扩展风险自担 。


DB++ 函数
在线手册:中文 英文
PHP手册