I want to return the maximum high score as a php variable, but I'm not sure how to structure the result. Here's the query:
$query = "SELECT MAX(high_score) FROM tablename";
$result = mysql_query ($query);
And here's what isn't working (it's returning seemingly random numbers):
$high_score = $result;
What's the proper way to get the value? thanks--




Bookmarks