I have the following code
$hostname='localhost';
$user='jami3EETh'; //'user name for MySQL database';
$pass='********'; //'Password for database';
$dbase='membership'; //'database name';
$connection = mysql_connect("$hostname" , "$user" , "$pass") or die ("Can't connect to MySQL");
$db = mysql_select_db($dbase , $connection) or die ("Can't select database.");
However all of the details being right i get the cant select database error.
Any idears what is wrong??
Thanks