Jump to content

Recommended Posts

I want to produce a report via php

 

With the data, I then want to build a pdf document for example

 

I believe I can do this no problem, the part Im concern about is the formatting

 

Lets say the data would cover 6 A4 pages... I need each page the data is continued on to have the company logo at the top

 

So if your with me so far, I'm sure you will have noticed the problem/solution window

 

I need to know when Im about to run out of space in regards to data being presented on a sheet of A4 for instance

 

If I had data 6 pages long, I need to basically find a way of splitting that up into 6 respectable chunks and basically say

 

Ok, Chunk 1 goes on page 1 and fills the page

Chunk 2 goes on page 2 and fills the page

Chunk 3 goes on page 3 and fills the page

etc etc

 

It doesnt even have to be PDF, it can be anything, aslong as my generated data can be presented nicely and spread accross multiple pages if need be

 

Whats the work around?

 

Link to comment
https://forums.phpfreaks.com/topic/71515-output-pdf-word-etc/
Share on other sites

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.