Solved

Display PDF with PHP

Posted on 2011-03-23
2
269 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
Comment Utility
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
Comment Utility
TCPDF
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP and Soap 3 26
PHP Sum Column in Table 3 26
Jump to a specific point on a responsive page 5 11
Strip leading 0 from a var 3 6
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

772 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

11 Experts available now in Live!

Get 1:1 Help Now