I have this php page that displays all the record from the database.
now, I want them to look something like this..
1. result A
2. result B
3. result C
There's a lot of records in my database, so it has several pages.(each page displays 20 records)
now if i go from page 1 to 2 to 3 to 4 ....if its increasing. the numbers shown are correct.
but if i go from page 2 to 1, or from page 5 to 1 the numbering is wrong.
Google use to have numbered search results but its gone now, so I got no reference.
That's what I want to achieve.
Please help. thank you.