rob1
07-18-2008, 06:56 AM
ive setup a website offline and it works fine. ive created the DB and user online within CP and loaded in the DB content using phpadmin.
However, I do not know what the connection string is to connect to the database, at present i have
$connect=mysql_connect("localhost:3306","xxxxxusernamexxxxx","xxxpasswordxxxx") or die ("db connection lost");
mysql_select_db("xxxxmydatabasexxxx");
username, password and DB names have been changed for obvious reasons
However, I do not know what the connection string is to connect to the database, at present i have
$connect=mysql_connect("localhost:3306","xxxxxusernamexxxxx","xxxpasswordxxxx") or die ("db connection lost");
mysql_select_db("xxxxmydatabasexxxx");
username, password and DB names have been changed for obvious reasons