Hi,
this is similar but I want, but it's still quite different.
OK, basically what I want is a league type thing... I have got a points column and a league table. This is coded fine and all works.
What I want is, in this case, if you click on the animal, it will tell you its place in the league table out of how many animals are competing.
I do not have an animalid column, but as I say, I have a points column.
I assume I would have to run two mysql queries and use php looping?, one query to count how many animals are competing and one to count it's way through the results until the animal matches the position it will be located depending on points?
The value of points changes, so the position will change. Also, if ORDER BY is used, the amount of total entries, will be reduced aswell.
Am I doing this the right way?
Sorry for all the confusion and many thanks.