Jump to content

[SOLVED] Display all from Mysql in chunks with title header for each chunk


Recommended Posts

Hi there guys.

 

I appreciate any help. This must have been done or I am having a wrong approach.

 

I am trying to create a report from Mysql and saving it to PDF format. In order to do this I have to get the data into html then create the PDF.

 

I need to create pages of 10 with a header title for each table, for as many as data there is in Mysql table.

 

E.g.

 

Table has 10 rows of data in it. Report 4 per page

 

Page 1

Title table header row (Static html)

Row 1

Row 2

Row 3

Row 4

 

 

Page 2

Title table header row (Static html)

Row 5

Row 6

Row 7

Row 8

 

 

Page 3

Title table header row (Static html)

Row 9

Row 10

 

My other concern is memory as the data size gets bigger and bigger.

 

Any help appreciated

 

Thanks

 

Ben

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.