mysqli::select_db

mysqli::select_db

mysqli_select_db

(PHP 5, PHP 7)

mysqli::select_db -- mysqli_select_dbSelects the default database for database queries

Description

Object oriented style

bool mysqli::select_db ( string $dbname )

Procedural style

bool mysqli_select_db ( mysqli $link , string $dbname )

Selects the default database to be used when performing queries against the database connection.

Note:

登录查看完整内容