What is the best PHP class to create PDF table from SQL results #table from sql database to pdf
Edit
by amin karimi - 9 years ago (2016-02-05)
Create query results table in PDF
| 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.
| by Luciano Salvino package author 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.
| by Murat Cileli package author 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.
| by Manuel Lemos 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.
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?