Solved

Display PDF with PHP

Posted on 2011-03-23
2
271 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how can i gnupg encrypt a PDF document? 12 28
php extract($_REQUEST) 5 46
Which userID to use for shopping cart application 13 19
PHP Syntax Error 4 25
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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 …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

805 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