Page break in Printing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
khenzu
Forum Newbie
Posts: 1
Joined: Fri Jun 10, 2016 10:03 am

Page break in Printing

Post by khenzu »

Hello there

does anyone here can help me in printing a data in table showing 5 records in each page break..

Im using PHP language..


Thanks in advance :lol: :lol: :lol: :lol: :lol:


:drunk: :drunk: :drunk: :drunk: :drunk:
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Page break in Printing

Post by Christopher »

Page breaks are done using the CSS style "page-break-after: always;". Put it on the last element you want on the page and a page break will be applied when printing.
(#10850)
Post Reply