Can anyone help me out with the following, I am wanting to connect to a database which has several password protected tables within it
DBHOST = "Bob"
DBUSER = "Bob1"
DBPASSWORD = "Bob2"
DBDATABASE = "Bob3"
user = "Bob4"
table = "Bob5"
I am only used to using the following
//Create connection
$connection = mysql_connect("bob","bob1","bob2") or die ("Couldn't connect to database");
//Select Database
$db = mysql_connect("bob5", $connection) or due ("Couldn't select database");
Any ideas?