mysql_db_name

 string mysql_db_name ( resource $result , int $row [, mixed $field ] ) 

説明

Retrieve the database name from a call to mysql_list_dbs().

戻り値

Returns the database name on success, and FALSE on failure. If FALSE is returned, use mysql_error() to determine the nature of the error.