After calling mysql_select_db
to grab a database, is there any way to later output the name of the database that is currently selected? This seems very basic but I couldn’t find anything on php.net or stackoverflow (all results are for “no database selected”).