|
PHP5中文手册
maxdb_select_dbmaxdb->select_db(PECL maxdb:1.0-7.6.00.38) maxdb->select_db — Selects the default database for database queries 说明
bool maxdb_select_db
( resource $link
, string $dbname
)
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.
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|