Welcome Guest, Not a member yet? Register   Sign In
Get current database name
#1

[eluser]Gaz[/eluser]
Hi all,

Is there a function (or code snippet) to return the currently active database name?

I know I can use mysql_db_name, but where do I get the connection ID from?

Cheers,
Gaz.


Messages In This Thread
Get current database name - by El Forum - 02-05-2010, 07:40 AM
Get current database name - by El Forum - 02-05-2010, 08:47 AM
Get current database name - by El Forum - 02-05-2010, 08:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB