PHP Classes

What is the best PHP class to create PDF table from SQL results: Create query results table in PDF

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP class to create ...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP class to create PDF table from SQL results

Edit

Picture of amin karimi by amin karimi - 9 years ago (2016-02-05)

Create query results table in PDF

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I want to create a table in my PDF output from SQL database query results.

Ask clarification

3 Recommendations

PHP PDF Table Generation: Generate tables in PDF documents from array data

This class can generate tables in PDF documents from array data.

It extends the FPDF class to add functions to add tables to the current PDF document.

The tables are defined from bidimensional arrays that define the contents of each row and column of the table.

The tables may have additional properties set to define the colors of the headers, odd or even rows, the width of the cells, padding around the cells, and text alignment.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Luciano Salvino by Luciano Salvino package author package author Reputation 30 - 8 years ago (2016-04-18) Comment

Hi, I write this extended class of fpdf that let you create tables in PDF files. You can get the result from mysql and gen the array properly to feed the table

regards, Lutian


PHP Reports: Generate PDF and DOCX reports from Word templates

This class can generate PDF and DOCX reports from Word templates.

It can send HTTP requests to the PHP Reports API to generate report documents in PDF or DOCX files from templates defined in the Microsoft Word format DOCX.

The class can take the identifier of the template document to use, template variables to replace in the template, and serves the generated report document for download.
This recommendation solves the problem.
This recommendation does not solve the problem.

+3

Picture of Murat Cileli by Murat Cileli package author package author Reputation 220 - 8 years ago (2016-04-17) Comment

You can generate PDF reports by passing SQL result to template variables.


SQL 2 PDF Report: Generate PDF documents from MySQL query results

This class can be used to generate a PDF document from the results of MySQL database queries.

The class can execute one or more given queries and generate dump the results as HTML tables to a temporary page file.

The PDF document is generated by calling a remote Web service that fetches the generated HTML page and convert it to the PDF format.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 9 years ago (2016-02-07) Comment

This is an old class but it does precise that, generates a PDF document with SQL query results from a database table.

  • 1 Comment
  • 1. Picture of Dave Smith by Dave Smith - 9 years ago (2016-02-08) Reply

    I am not entirely certain that this class still works. There is a comment that it generates obsolete pdf?


Recommend package
: 
: