Generate PDF report from php

后端 未结 4 1735
醉话见心
醉话见心 2020-11-28 14:50

I am using php code to query to a database and the results will be used to generate a report.

If I want the report to be generated in a pdf format how should I do it

4条回答
  •  死守一世寂寞
    2020-11-28 15:06

    Look into html2pdf

    Create your report as html and then run the code to transform into PDF. You don't need to know the language to generate the PDF blocks. Submitted forms work out cool too.

提交回复
热议问题