(PHP 3, PHP 4, PHP 5)
msql_db_query() selects a database and executes a query on it.
The name of the mSQL database.
The SQL query.
mSQL 的連線標識符。若果沒有指定,預設使用最後被 msql_connect() 開啟的連線。若果沒有找到該連線,函數會嘗試通過呼叫 msql_connect() 建立連線並使用它。
Returns a positive mSQL query identifier to the query result, or FALSE on error.