Hi everyone.
i fetched some html content from phpmyadmin sql table and print them to pdf by dompdf in my codeigniter 3 project.
here, i have some columns (page titles) with some html content which could exceed one print page (A4 landscape).
as well i add page number or background cover for pages, but just the first page in each column content has cover image and just the last page has footers for page number.
here is the function i used to create html content for dompdf:
PHP Code:
how should i consider coding so that when a html content exceeds one print page, the next pages of same content as well has cover image and page numbering for all.
Hi everyone. i fetched some html content from phpmyadmin sql table and print them to pdf by dompdf in my codeigniter 3 project. here, i have some columns (page titles) with some html content which could exceed one print page (A4 landscape). as well i add page number or background cover for pages, but just the first page in each column content has cover image and just the last page has footers for page number. here is the function i used to create html content for dompdf: PHP Code:
how should i consider coding so that when a html content exceeds one print page, the next pages of same content as well has cover image and page numbering for all.