Do you have errors turned on? Parse errors will cause a blank page if error settings are set to not display. Add this at the top of your script
error_reporting( E_ALL ^ E_NOTICE );
ini_set('display_errors',1);
If you get an error, then from now on include this at the top of your scripts when you have trouble, or better yet edit your php.ini file if you have access. An error when adding this will let you know that your error reporting is set to off, and you'll need to see errors to troubleshoot. That way when you get a blank page, you'll know why.
Once you've determined that parse errors are not the problem, you need to do some error checking.
I see two semi-colons after your call to mysql_connect()
mysql_connect ("supremecenter47.com", "darko886_table", "password") or die( "Unable to connect");;
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
If you want an associative array, why not use mysql_fetch_assoc()?
Why are your variable names enclosed in curly braces?
Also, make sure you ALWAYS use mysql_error() while trying to troubleshoot a mysql problem. Also you can use this to verify rows were even returned
if( mysql_num_rows( $result ) == 0 )
{
print 'No Rows Found';
}
// Turn on Error Reporting
error_reporting( E_ALL ^ E_NOTICE );
ini_set('display_errors',1);
// Connect to Database (replace w/your real credentials)
mysql_connect ('supremecenter47.com', 'darko886_table', 'password') or die( mysql_error() );
mysql_select_db('darko886_table') or die( mysql_error() );
// Execute Query
$result = mysql_query("SELECT * FROM table WHERE Player='darko886'") or die( mysql_error() );
// Echo Results
while( $row = mysql_fetch_assoc( $result ) )
{
print "Name: " . $row['Player'] . "<br>\n";
print "Subject: " . $row['Club'] . "<br>\n";
print "Message: " . $row['Pts'] . "<br><br>\n\n";
}
Also, your table isn't named "table", is it? This is where mysql_error() comes in handy.