Here is my code:
<?
$db = mysql_connect("localhost","user","password")
or die("Could not open connection to database");
mysql_select_db("db_newsletter",$db)
or die("Unable to select the database.");
?>
When I use this, I'm getting "Unable to select the database".
Any ideas why there's a problem? I've copied the database name directly from the view of it's structure on PHPMyAdmin.