Generating a PHP and HTML page to PDF using mPDF |
[eluser]TheFuzzy0ne[/eluser]
No, what I did does NOT generate a PDF everytime the profile is viewed. It will generate a PDF when you go to http://yoursite.com/pdf/pdf_report/<user_id>, which is exactly what you're trying to do, is it not? You need to pass TRUE as the third parameter to $this->load->view() in order to return the contents. What you're doing will just send the view to the browser. |
Messages In This Thread |
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-21-2013, 11:17 AM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-21-2013, 11:47 AM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-21-2013, 11:53 AM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-21-2013, 12:46 PM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-21-2013, 01:46 PM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-21-2013, 03:01 PM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-22-2013, 03:15 AM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-22-2013, 09:14 AM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-22-2013, 01:16 PM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-23-2013, 06:01 AM
Generating a PHP and HTML page to PDF using mPDF - by El Forum - 05-23-2013, 06:04 AM
|