Hi, I'm new to this forum and hope I'm posting in the right section! I hope someone can help. I am trying to upload a website but have been advised I need to edit the includes/config.inc file. I've to edit the database name, username and password which is fine but I don't know what part I'm supposed to be editing!! Here is the contents of the file and would be grateful if someone could tell me which bits I'm supposed to edit/add?? - do I type over/add to??

Here is the content of the file

global $_cn;
global $dbserver;
global $db;
global $dbuser;
global $dbpass;
//mysql database server,login,password & Database name
$dbserver ="localhost";
$dbuser ="loopy_two";
$dbpass ="three";
$connect = mysql_connect($dbserver, $dbuser, $dbpass)
or die("Couldn't connect to MySQL");
mysql_select_db($database_connect, $connect); 

Many thanks in advance for your help.


$dbserver ="localhost";
$dbuser ="loopy_two";
$dbpass ="three";

This is the part you should be editing to make changes for Mysql access.
I guess you should let localhost as your Mysql server
then you should indicate the database name instead of loopy_one
The user to connect to the DB 'loopy_two'
and the password to access the db 'three'.

You are not used to php, are you ;) ?