My table have "uid", "id" and "avg" fields.
uid=autoincreacement number
id=a name that the user choose
avg=averege score is stored here
I want a output of the ten highest avg values, but the output shall be as a link to that users page.
example of result:
1. nameofid (where nameofid shall be replaced with the value in the id field on that user that have the highest avg. this id shall be linked to www.adress.com/?id=that users uid)
pls help