add to the top of page:
error_reporting(E_ALL);
ini_set("display_errors", 1);
and open the page in an browser. are there any errors?
change (this mutes errors)
@mysql_select_db($database) or die( "Unable to select database");
to :
mysql_select_db($database) or die( "Unable to select database");
A word of advice though, better to use the MySQLi or [PDO_MySQL][3] instead of mysql_connectsince it will soon be deprecated:
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
mysqli_connect()
you can find more info of how to use them on this answer.
UPDATE
check if you get an empty result, add :
$num=mysql_numrows($result);
if ($num === 0) echo "Empty result"
and open the page again. if the page is still blank, change:
echo $row["artist"]." | ".$row["name"];
echo "<br>";
to:
vardump($row);
UPDATE 2
If you did get Empty result, than add
echo $query;
and try to open the page and run the query manually