Help with Printing Invoices From Database

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
bhansel
Forum Newbie
Posts: 1
Joined: Thu Apr 09, 2009 3:07 pm

Help with Printing Invoices From Database

Post by bhansel »

Hi,

I'm new to PHP and I have a project where invoice data is sitting in a database daily and I need to be able to print the invoices using PHP. I know this is vague but can anyone offer advice?

Thanks!
Beth
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Help with Printing Invoices From Database

Post by Christopher »

If it is only to be used on a specific printer then you could probably just create it with HTML. For a more general solution I would recommend generating a PDF. There are a couple of PHP libraries that can help you with that. Google something like "php pdf library".
(#10850)
Post Reply