<?php
$user = "USER_DBUSERNAME";
$password = "PASSWORD";
$databasename = "USER_DATABASENAME";
$location = "localhost" //You would usually leave this as it is default 99% of the time.
mysql_connect("$location", "$user", $password");
mysql_select_db("$databasename");
?>


