Hi,
the SELECT query doesn't look ok to me. I think it should look like
"SELECT * FROM players WHERE username ='".$name."'"
The original query will hardly return anything because it searches for records where username='.$name.' including the periods.
So the fetch_object command returns nothing.
the next step after executing the query could look like
if ($objRow = mysql_fetch_object($query)) {
echo "Name: ".$objRow->username."<br>\n";
} else {
echo "No user found with username: ".$name."<br>\n";
}
Thomas