A while ago I saw a post about printing a ranking before every record displayed. I managed to do it using the $offset variable for the NEXT and PREV page script. I just set $rank=($offset+1); at the beginning of my script and then increment $rank =($rank+1) after every record displayed. Pretty simple, just in case anyone was looking for a way to do this...