Creating a PDF using PHP with dynamic content from a database

Hey all,

i am building a website where i have dynamic content which changes on a page refresh i want the user to click my download button and i want that to create a PDF File with the dynamic content in it…so that the user can print a (printer friendly version) or is there another way i can do this??

I have found some tutorials on creating a PDF using php but was a little confusing with how to get the dynamic content into it.

Cheers in advance :slight_smile: