Is there a way to detect page breaks with php?
I generate a report with PHP and I use page breaks for different paragraphes.
I need to keep a header in every page.
Is there a way to do it?
Is there a way to detect page breaks with php? I generate a report
Share
HTML (only using CSS):
<hr style="page-break-after:always; visibility: hidden">PDF:
use the HTML above and use
wkhtmltopdfto convert to PDF. Other converters might work, yet this one is the best.TEXT/CONSOLE(CLI):
chr(0xC), aka"\f".