Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Populating a PDF file using PHP?

pdf

  • Please log in to reply
No replies to this topic

#1 SecretCode

SecretCode

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 14 May 2010 - 09:15 AM

Hi,

Can someone help me? I’ve only been doing PHP for a few months, but I do have a good understanding of how it works and I can handle databases well. But what I would like to do would be fill a PDF file with information from my database. I know how to make a PDF file, but I have no clue how to connect it to my database. I’ve found some scripts on the subject, but nothing seems to work for me.

This is what I’m trying to do—have a user go to their personal information page and then convert the info into a PDF. So not only do I need to connect to my database and make a PDF, but I also need to call only that user’s information. So far I’ve been doing that by passing the user’s id through the URL and then using that as a key to call the matching information from my database, but I don't know if that would work when generating a PDF.

Any help would be appreciated, thanks!
  • 0





Also tagged with one or more of these keywords: pdf

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download