mysql_query - CREATE DATABASE
| From: | R B | Date: | Mon, 09 Feb 2009 17:58:54 +0000 |
| Subject: | mysql_query - CREATE DATABASE | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-288005@lists.php.net to get a copy of this message | ||
Hello,
When i create a mysql database with the next command:
mysql_query("CREATE DATABASE my_db",$con)
In the server is created the database, but usually the name is created with
a prefix.
In this case: someuser_my_db
How can i detect with PHP the complete name of the new database created?
Thanks