Pagination PHP

Hi There

I got a really nice script for pagination , but as soon as it goes over to the next page, the ID (from the database) doesn’t follow…

How can make it work on the next page aswell? Or does any of you have a VERY nice script for it?