i have followed this example laravel-4-create-pdf-use-dompdf:
how to add custom dynamic footer
$dompdf = \App::make('dompdf');
$dompdf->loadHTML('<h1>naeem World!!</h1>');
anyone do have idea? or please suggest,
i also have followed this solution DOMPDF add a header and footer but it doesn't work correctly.
Edited:
i want $db_data['footer_text']
to be footer text to all the pages dynamically, its coming form database.
The solution from the link you provided should be enough. You just need to craft a more complete HTML document.