Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Community Voice - Generating PDF files using CodeIgniter
#61

[eluser]Unknown[/eluser]
thanks for your tutorial but i want to load my view like this.
$content = $this->load->view('myview');

but it didn't show the content.
What should i do?

Thanks
best regard
tola
#62

[eluser]garrisonian[/eluser]
How can i draw boxes in pdf using ezpdf?
#63

[eluser]Unknown[/eluser]
Code:
function pdf_create()
{
$this->load->library('cezpdf');
        $db_data[] = array('name' => 'Jon Doe', 'phone' => '111-222-3333', 'email' => '[email protected]');
$db_data[] = array('name' => 'Jane Doe', 'phone' => '222-333-4444', 'email' => '[email protected]');
//$db_data[] = array('name' => 'Jon Smith', 'phone' => '333-444-5555', 'email' => '[email protected]');

$col_names = array(
'name' => 'Name',
'phone' => 'Phone Number',
'email' => 'E-mail Address'
);

$this->cezpdf->ezTable($db_data, $col_names, 'Contact List', array('width'=>550));
$this->cezpdf->ezStream();
}

it will show table with border only not data why pls help me;
pls
i want data in table




Theme © iAndrew 2016 - Forum software by © MyBB