I want to get data from my database and these data I want to show them to the user by giving him a pdf file. For example I will get the name, email of the user from the database and then I want to print on the screen that data in a pdf file. Is there any way to do that?
PS: I am using php, html and mysql
My favorite PHP PDF creator is MPDF http://www.mpdf1.com/ Just echo out your data into table like you would in html but it must be echoed into a string. then mpdf will convert the sting html into a pdf.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.