(PHP 3, PHP 4 )
int msql_list_dbs(void);
int msql_list_dbs
msql_list_dbs() will return a result pointer containing the databases available from the current msql daemon. Use the msql_dbname() function to traverse this result pointer.