Welcome Guest, Not a member yet? Register   Sign In
[tcpdf] create pdf from view data
#1

[eluser]MVUG[/eluser]
Hi guys,

I want to create a PDF from a view, like this:

Code:
// Display view
$htmldata = $this->load->view('includes/template_print', $data, TRUE);

and now I want to pass that $htmldata to the TCPDF library. But all I get is a blank page... I think this has to do with output buffering... Can anybody help with this?

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB