Ok this is my result:
Where you see the red arrows is where I'd like the numbers 1-x where x is the number that comment is. Using the 'while (mysql_fetch_array) ' doesn't allow me to increment the counter. The way it handles the loop it seems to disregard anything else but the output and doesn't increment a counter if I put it at the end of the loop (counter is commented out)
I tried using a for loop (which i commented out at the top) but that failed miserably and broke a whole lot of things.
How would you guys go about getting an incremental counter there while keeping everything else functional? If it requires changing my loop style I'm fine with that. Know that the page is only taking in one argument, an integer, and from that pulls the item that has multiple comments. Any guidance would be appreciated. Thanks in advance.
EDIT: The code as its shown here isn't designed to implement a counter.

Where you see the red arrows is where I'd like the numbers 1-x where x is the number that comment is. Using the 'while (mysql_fetch_array) ' doesn't allow me to increment the counter. The way it handles the loop it seems to disregard anything else but the output and doesn't increment a counter if I put it at the end of the loop (counter is commented out)

I tried using a for loop (which i commented out at the top) but that failed miserably and broke a whole lot of things.
How would you guys go about getting an incremental counter there while keeping everything else functional? If it requires changing my loop style I'm fine with that. Know that the page is only taking in one argument, an integer, and from that pulls the item that has multiple comments. Any guidance would be appreciated. Thanks in advance.
EDIT: The code as its shown here isn't designed to implement a counter.