PDA

View Full Version : Howto call Database name


Satviewers
02-25-2010, 06:52 PM
Hi,

How do I call the database name.

borbole
02-25-2010, 07:11 PM
Hi,

How do I call the database name.


When you create one? You can name it anything you want.

Satviewers
02-25-2010, 08:46 PM
I have already created a Database.

I want to echo database name.

e.g

echo dbname;

borbole
02-25-2010, 10:39 PM
You lost me here. Can you explain a little bit more in detail as to what is it exactly that you want to do?

Satviewers
02-25-2010, 10:54 PM
If the database been used by vbulletin is called test123.

If I have in my php code something like

echo dbname;

This will print the database name test123 to screen.

What do I need to have instead of dbname to call the database name.