mysqli_select_db

(PHP 5 CVS only)

mysqli_select_db -- Selects the default database for database queries

Description

bool mysqli_select_db ( resource link, string dbname)

The mysqli_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.

Returns TRUE on success or FALSE on failure.