I'm using the following loop to get results of how many times a url is located on the database.
Query:
1. I want to know how I can total the ammount (all rows added together) at the end of the loop?
and
2. Is it possiable to put these results in numerical order using php?
I think the best way is probably to loop the information first to sort it and loop it again to get the final results? But I have no idea how to go about this! Help