Create a PDF File

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
burgessm
Forum Newbie
Posts: 5
Joined: Thu Dec 18, 2008 4:09 am
Location: Andover, UK

Create a PDF File

Post by burgessm »

Hi All,

I currently have a database with transactions that customers have made. I would now like to be able to dynmaicly generate a PDF invoice with this information in. Currently i am just using a PHP page and the user has to print the page, but i would like to add the 'Generate PDF' feature to the project. Could i not just change the current invoice page to automaticly make the invoice? As it is an invoice it will need to include formating such as tables and images also.

Many thanks, hope someone can help :D
falcons
Forum Newbie
Posts: 16
Joined: Mon Nov 10, 2008 8:00 am

Re: Create a PDF File

Post by falcons »

me also find this any body have any idea...
burgessm wrote:Hi All,

I currently have a database with transactions that customers have made. I would now like to be able to dynmaicly generate a PDF invoice with this information in. Currently i am just using a PHP page and the user has to print the page, but i would like to add the 'Generate PDF' feature to the project. Could i not just change the current invoice page to automaticly make the invoice? As it is an invoice it will need to include formating such as tables and images also.

Many thanks, hope someone can help :D
GreenCore
Forum Newbie
Posts: 5
Joined: Thu Dec 18, 2008 6:53 am

Re: Create a PDF File

Post by GreenCore »

It's possible!

For examples take a look at http://www.fpdf.org/?lang=en
burgessm
Forum Newbie
Posts: 5
Joined: Thu Dec 18, 2008 4:09 am
Location: Andover, UK

Re: Create a PDF File

Post by burgessm »

Brilliant find GreenCore!

I've just been looking at that and it looks amazing, I'm going to go and have some geeky fun now :D LOL

Cheers!
Post Reply