
09-21-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 30,323.15 Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 402 | | How do I get this result? 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:---------$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 To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | | | |