array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.yaz-database.php', 1 => 'yaz_database', ), 'up' => array ( 0 => 'ref.yaz.php', 1 => 'YAZ Functions', ), 'prev' => array ( 0 => 'function.yaz-connect.php', 1 => 'yaz_connect', ), 'next' => array ( 0 => 'function.yaz-element.php', 1 => 'yaz_element', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/yaz/functions/yaz-database.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.6, PECL yaz >= 0.9.0)
yaz_database — Specifies the databases within a session
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 +
.