Solved

Display PDF with PHP

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

840 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