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

yaz_database

(PHP 4 >= 4.0.6, PECL yaz:0.9-1.0.9)

yaz_database — Specifies the databases within a session

说明

bool yaz_database ( resource $id , string $databases )

This function allows you to change databases within a session by specifying one or more databases to be used in search, retrieval, etc. - overriding databases specified in call to yaz_connect().

参数

id

The connection resource returned by yaz_connect().

databases

A string containing one or more databases. Multiple databases are separated by a plus sign +.

返回值

如果成功则返回 TRUE,失败则返回 FALSE