Thanks Drakla. However i have already tries something similar. I will tell you what i am trying to achieve. Maybe that will help. (or maybe you will see i am going about it all wrong!)
I have a table with many columns, one of which is "Type". I have performed a query to return all records where TYPE is "Hardwood".
What i am trying to do is display on my page, all the information about the first record only. Then down the bottom of the page, there is a link labelled "NEXT" which when clicked will re-load the same page, but show all the information about the second record.
To enable the page to know what record i want displayed on the page, i have a URL parameter "ID=XX" (ID is an auto_increment field in the database)
I wanted the current record number in hope i could find a way to include in the "NEXT" link, the record number of the next record. Does that make sense?
I should probably add that the query orders the results by the NAME column, no the ID. Not sure if that makes a difference to any answer you may have.