PHP. Руководство по PHP. 2005
msql_select_db
msql_select_db
Описание
bool msql_select_db (string database_name [, resource link_identifier])msql_select_db() sets the current active database on the server that's associated with the specified link_identifier.
Subsequent calls to msql_query() will be made on the active database.