This works I have tested it.
first you must put the "name" you want to get like this.
The &name& is your variable.
Then the php is.
$user=$_GET['name'];
$select = "SELECT * FROM drawings WHERE name = '$user' LIMIT 0, 1";
$query = mysql_query($select) or die(mysql_error());
$result = mysql_fetch_assoc($query);
//echos the array back to construct
echo $result['name'] . "|";
echo $result['artist'] . "|";
echo $result['score'] . "|";
// close MySQL connection
mysql_close();