Can you explain a little more?
Are you saying that you're "paginating" the information for display? And passing the page id through the url? That's fine. That's the way most do it. What you don't want to pass through the URL is sensitive or harmful information. So unless you can hack your database through passing an improper value, you shoudl be okay.