phpbar.de logo

Mailinglisten-Archive

[php] dynamic FPDF

[php] dynamic FPDF

Michael Borchers borchers at tridem.de
Mit Feb 16 15:11:45 CET 2005


does anybody use it?

we created a fpdf which produces several pages.
each page f.e. shows a client

Page 1:
Header
Client X
Footer

Page: 
Header
Client Y
Footer
...


So each client is written on a new page.
Now we read out data from a mysql that belongs to each client,
a list f.e.

it's no problem as long as the data is enough for one page.

now when it comes to more data and the page breaks
it's ok to put the data on a second page,
but the problem is that we do not know how to still
view the header and the footer at the top and the bottom:


Page 1:
Header (at the top!)
Client X
Client Data
Footer (at the bottom)

page break, page 2:
Header (at the top!)
Client X
Client Data
Footer (at the bottom)

...

Page X
Client X
...

and so on.

can anybody help?!

php::bar PHP Wiki   -   Listenarchive