msql_dbname

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

msql_dbname -- Get current mSQL database name

Description

string msql_dbname (int query_identifier, int i)

msql_dbname() returns the database name stored in position i of the result pointer returned from the msql_listdbs() function. The msql_numrows() function can be used to determine how many database names are available.