mysql_list_dbs

(PHP3 , PHP4 )

mysql_list_dbs --  List databases available on a MySQL server

Description

int mysql_list_dbs ([int link_identifier])

mysql_list_dbs() will return a result pointer containing the databases available from the current mysql daemon. Use the mysql_tablename() function to traverse this result pointer.

For downward compatibility mysql_listdbs() can also be used.