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”).

8 Answers
8

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *