PHP Manual
Prev |  | Next

# mysql_list_dbs

mysql_list_dbs -- List databases available on on 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.

Prev | Home | Next
mysql_list_fields | Up | mysql_list_tables