<?php $config['host'] = "localhost"; $config['user'] = "orb_orb"; $config['pass'] = "********"; $config['db'] = "orb_database"; @mysql_connect("$config[host]","$config[user]","$config[pass]") or die("There was an error connecting to the database, MySql said:<br />".mysql_error().""); @mysql_select_db("$config[db]") or die("There was an error connecting to the database, MySql said:<br />".mysql_error().""); ?> I'm sure there's nothing wrong in config.php, I use it on almost every file.