pugs1501 Posted June 5, 2007 Share Posted June 5, 2007 I am building a form that inserts data into a database and then another user comes and pulls like a report from the database of all the information int he database. I was wondering when i create this report it is actually going to have multiple reports because every record is a a report and I was going to list them all on one screen but i need a way to be able to say where a page breaks for printing. I was wondering how I would do that. Thank you for your time. Adam Quote Link to comment https://forums.phpfreaks.com/topic/54342-php-page-break/ Share on other sites More sharing options...
Psycho Posted June 5, 2007 Share Posted June 5, 2007 That is not a PHP question, it is an HTML/CSS question. Here's one way to implement it: <html> <head> <title>Page Break Example</title> <body> Page 1 Content <br style="page-break-after:always;"> Page 2 Content <br style="page-break-after:always;"> Page 3 Content </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/54342-php-page-break/#findComment-268861 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.