autofill pdf with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lordrain11
Forum Newbie
Posts: 8
Joined: Wed Nov 19, 2008 7:33 pm

autofill pdf with php

Post 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?
User avatar
it2051229
Forum Contributor
Posts: 312
Joined: Tue Dec 25, 2007 8:34 pm

Re: autofill pdf with php

Post 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.
lordrain11
Forum Newbie
Posts: 8
Joined: Wed Nov 19, 2008 7:33 pm

Re: autofill pdf with php

Post 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.
Post Reply