PHP Code:
$db mysql_connect($hostname$username$password); 
mysql_select_db('DatabaseName');