i have no idea of doing pagination. i am doing a project where i have to take the file content from database and display their content or pages using pagination in a frame.
for example say i have a subject named java where it contains some 3 chapters ,when i click java it should drop down the chapters and when i click the chapter tree it should retrieve all the topics under that chapter.and when i press the topic button it show its content in pages which is retrieved from database and display in frontend as pagination.
Joined: Mar 22, 2005
So the database contains a text blob of HTML that somehow has 3 chapters in it? If that's the case, then I don't really see how this can work. It's generally not a good idea to keep complete file contents in a DB, much less HTML, which is a file format for viewing, not for storing semantic content. How would you get the data for a single chapter out of the HTML text?