msql_db_query() selects a database and executes a query on it.
The name of the mSQL database.
The SQL query.
The mSQL connection. If not specified, the last link opened by msql_connect() is assumed. If no such link is found, the function will try to establish a link as if msql_connect() was called, and use it.