This is just an example of a config file which connects to a database for those who need it:
DEFINE (‘DB_USER’, ‘username’);
DEFINE (‘DB_PASSWORD’, ‘password’);
DEFINE (‘DB_HOST’, ‘localhost’);
DEFINE (‘DB_NAME’, ‘database name’);
$dbc = @mysql_connect (DB_HOST, DB_USER, DB_PASSWORD) OR die (‘Could not connect to MySQL: ‘ . mysql_error());
@mysql_select_db (DB_NAME) OR die(‘Could not select the database: ‘ . mysql_error() );