Yeh i have filled in the db info correctly...
This is the connect.php file for the topsites folder...
<?
$db = mysql_connect("$dbhost","$user","$pass") or die ("Can't connect to mySQL server");
mysql_select_db ("$dbname") or die (mysql_error());
?>
the help is much appriciated, thanks