Solved

Display PDF with PHP

Posted on 2011-03-23
2
270 Views
Last Modified: 2012-06-27
I have a MySQL database with a few dats in it. I need to generate a .pdf report with only text & those dates. Is this possible? I've looked online & downloaded FPDF but it is not very good at explaining itself. Can someone lend me a hand in getting started with this project. Should I use FPDF or something else? Remember, this is a customer database with a MySQL backend with dates I need to pul from teh MySQL database to be displayed on the report....I don't need anything fancy, just something that pulls the customer, 3 or 4 dates, then be able to print it off...any suggestions, examples, will be appreciated.
0
Comment
Question by:wantabe2
2 Comments
 
LVL 9

Accepted Solution

by:
absx earned 500 total points
ID: 35198473
Hi,

I've found TCPDF to best suit my needs. It has the features I've needed (barcodes, support for JavaScript embedding, ...) and it's comparably well documented.

Check out the simple example at http://www.tcpdf.org/examples/example_001.pdf and it's source code at http://www.tcpdf.org/examples/example_001.phps.
0
 
LVL 5

Expert Comment

by:tsmgeek
ID: 35201647
TCPDF
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now