Link to home
Start Free TrialLog in
Avatar of robdijo
robdijoFlag for United States of America

asked on

How do I populate a .pdf form via mysql and php

I have successfully configured a pdf form to submit values from fields to a .php web page.  From there I can have php submit the data to a mysql database.  How will I have php and mysql re-populate that form for later use?  How do I tell php to push back fields to a pdf form?
Avatar of Matthew Kelly
Matthew Kelly
Flag of United States of America image

Does this help you at all? I didn't try it but it seems like what you are looking for:

http://koivi.com/fill-pdf-form-fields/tutorial.php

Specifically the createFDF function at the end. Source can be downloaded here: http://koivi.com/fill-pdf-form-fields.zip



Adobe also has a product called LifeCycle:

http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL

It is not free however: http://www.adobe.com/products/livecycle/designer/
ASKER CERTIFIED SOLUTION
Avatar of icarey
icarey
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I like FPDF, too.  It gives you control to the 1/100 inch.