views:

12

answers:

0

How can I add an image in the table when creating pdf file wherein its contents are from the database.

I'm using this as reference: http://www.ros.co.nz/pdf/

There's the function ezImage() but I don't know how to use it inside the command:
$db_data[] = array('first' => ezImage('images/myphotos'), 'second' => 'hello');
...it won't work