I have found a great PHP script to rank my scores and have played around with some data in myPHPAdmin and it works as I hoped it would.
My next challenge is using it in PHP to extract the result. Heres the example code;
PHP Code:
$query="SELECT Sum(Score) As Rank, id FROM table WHERE id='2'";
The code only produces one result - as RANK - but I can't figure out how to get that now into a PHP variable. Any ideas much appreciated.
BTW - already tried mysql_fetch_array
|