v5:reference:connection:selectdb
This is an old revision of the document!
selectDb
Support for this function is limited. Check the driver documentation to see if it supported
Syntax
bool selectDb( string $database )
Description
In products that allow a database-less connection, or that allow switching databases, this function allows switching.
Usage
$bool = $db->selectDb('test'); /* * $bool indicates the success of the switch */
v5/reference/connection/selectdb.1437515952.txt.gz · Last modified: 2017/04/21 11:33 (external edit)