Page 1 of 1

autofill pdf with php

Posted: Wed Nov 19, 2008 7:34 pm
by lordrain11
Hello all, I am working on a site where I will gather info from users and store in a database. Thats the easy part. I then want to be able to pull up a pdf form (stored on the website) and have it automatically filled out by pulling info from the database. Thoughts?

Re: autofill pdf with php

Posted: Wed Nov 19, 2008 8:58 pm
by it2051229
1) you mean get a data from the database and format it into a PDF then save the file?
2) Or get the already existing PDF and add more data into it?

number 1 will work.. but for number 2, uhmmmmm never tried. Interesting.

Re: autofill pdf with php

Posted: Thu Nov 20, 2008 6:40 pm
by lordrain11
Number 2. It will be a blank but standardized pdf (like a government form or something). For example the form will have a name and address field so I need to pull the user's name and address and populate them into the pdf. Then I just need the user to be able to print. Saves the user the time of filling out forms manually.