mysql_db_name(result,offset[,field])

Description: Returns the database name of a field in a result.

After calling mysql_list_dbs(), which returns a resource identifier given by result, mysql_db_name() returns the name of the table indexed by offset.

See also: mysql_list_dbs()

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.