Ok guys, I have a big problem...
I am going to have a thing thar is displaying comments in a forum I am making, but I have a problem...In flash, I am using a duplicatesprite to duplicate the threads part any number of times. Each time it gets duplicated, it has a number on it..Now here is my problem:
Here would be a layout of my design-
Threads1 - Num1
Threads2 - Num2
In php, I am using $num=$_POST['num'] to get the number of each thread.
I have a ID row, which auto_increments, but I need to know how to do this..
If $num would equal one, then I would want to read the last row and return it, if $num would equal two, then I want it to read the second to last, 3, third to last, etc.
How can I do this?
Thanks guys
Chase
Edit: I will, of course, be deleting some rows, so I dunno how I can use the ID, because there will be holes.
I am using mysql for this