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 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> Link to comment https://forums.phpfreaks.com/topic/54342-php-page-break/#findComment-268861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.