Solved

Display PDF with PHP

Posted on 2011-03-23
2
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple function not working 7 43
How Close unsubmited attempts 10 44
Html split(text) 2 28
Json encode, change how it looks like on when inserting to database 14 24
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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 dynamically set the form action using jQuery.

756 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