|
maxdb_select_dbmaxdb::select_dbSelects the default database for database queries Description
bool maxdb_select_db
( resource
$link
, string $dbname
)
The maxdb_select_db function selects the default
database (specified by the
Return Values
Returns ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Default database is <...>. Warning: maxdb_select_db(): -10709 Connection failed (RTE:database not running) <...> Warning: maxdb_query(): -10821 Session not connected [] <...> Warning: maxdb_close(): -10821 Session not connected [] <...> See Also
|