Great Thanks i've got the 20 words into the pdf now...now i just gotta figure out how to properly format this thing into a table and place the table of my bg image and DONE
Hopefully soon
Thanks
I'll post back if i'm having troubles
thanks peeps!
OK one last problem...really confusing...here is some demo text from the readme doc for the class.
This code creates a simple 3 column table:
<?php
include ('class.ezpdf.php');
$pdf =& new Cezpdf();
$pdf->selectFont('./fonts/Helvetica.afm');
$data = array(
array('num'=>1,'name'=>'gandalf','type'=>'wizard')
,array('num'=>2,'name'=>'bilbo','type'=>'hobbit','url'=>'http://www.ros.co.
nz/pdf/')
,array('num'=>3,'name'=>'frodo','type'=>'hobbit')
,array('num'=>4,'name'=>'saruman','type'=>'bad
dude','url'=>'http://sourceforge.net/projects/pdf-php')
,array('num'=>5,'name'=>'sauron','type'=>'really bad dude')
);
$pdf->ezTable($data);
$pdf->ezStream();
?>
i currently have my words into a array called $data now...so atm what i am trying to achieve is to get a table with no headings just the words into the pdf....the table i am trying to create is 4 columns by 5 rows. Any ideas on how...i can send over the readme or whatever...sorry it's just really confusing to get the database $data array into the table.
There is not much help available for this class as it was made about 4 years ago a LONG time ago.
Cheers
ok an update i have the words in a table into the pdf document yay...only 1 thing formatting the table and setting a y position is a pain!!!....still trying to figure it out i think this problem will hurt the most as its the last before i'll be finished yay
Edited by rc69, 01 June 2007 - 02:16 PM.