Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i need design and coding for pagination

 
shyamkumar bopannachengalaiah
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am doing a pagination project where i have to take html file from data base and dispaly the pages in that file by pagination concept
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you have so far, and where are you stuck making progress?
 
shyamkumar bopannachengalaiah
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic