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"; $database_connect="loopy_one"; $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.