OM2 Posted June 8, 2013 Share Posted June 8, 2013 I want to have a PDF template with xx number of fields I want PHP to read in data from a source - maybe like a CSV file for example and create copies of the PDF for every record For example, say I have a CSV file with 10 rows, I want a PDF document that is 10 pages long - each page is filled in with fields from each row Is this possible? I've done some googling and the answer seems to be a flat no! No one has figured out how to do this yet? There's many people asking questions, but no one seems to have figured it out yet Does anyone know of anything that might solve my problem? Thanks OM Quote Link to comment Share on other sites More sharing options...
davidannis Posted June 8, 2013 Share Posted June 8, 2013 I have used fpdf and smarty templates to do what you described. There is also http://www.tcpdf.org/ http://sourceforge.net/projects/pc4p/ and http://sourceforge.net/projects/pdf-php/ Quote Link to comment Share on other sites More sharing options...
davidannis Posted June 8, 2013 Share Posted June 8, 2013 This might also be worth checking out http://pear.php.net/reference/PhpDocumentor-latest/Cpdf/Cpdf.html#class_details Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.