v5:reference:connection:selectdb
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.txt · Last modified: 2016/01/17 01:19 by mnewnham