maxdb->select_db()
maxdb->select_db - Selects the default database for database queries
Syntax
bool maxdb->select_db (
resource $link,
string $dbname)
Arguments
- link - One of the MAXDB_REPORT_XXXconstants.
- dbname - One of the MAXDB_REPORT_XXXconstants.
Description
The maxdb_select_db() function selects the default database (specified by the dbname parameter) to be used when performing queries against the database connection represented by the link parameter.
Version
PHP PECL maxdb >= 1.0
Return value
Returns TRUE on success or FALSE on failure.