I'm creating a web mail service. Suppose a user has 100 mails in his mail box. Executing my script, i'm getting all the 100 mails in the single page. But i need 20/page into 5 pages. I'm having all the mails of the user dumped into a file. Each user has a seperate flat file. I can display all the mails in a single page. But i need to display it into pages.
Can anyone recommend me how to make it.