(PHP 4, PHP 5)
msql_select_db — Select mSQL database
$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.
database_name
The database name.
link_identifier
mSQL 的連接識別符。如果沒有指定,預設使用最後被 msql_connect() 打開的連接。如果沒有找到該連接,函式會嘗試通過呼叫 msql_connect() 建立連接並使用它。
如果成功則回傳 TRUE
,失敗則回傳 FALSE
。