PHP Classes

File: ReadMe.txt

Recommend this page to a friend!
  Classes of Rupom Razzaque   SQL 2 PDF Report   ReadMe.txt   Download  
File: ReadMe.txt
Role: Auxiliary data
Content type: text/markdown
Description: Documentation
Class: SQL 2 PDF Report
Generate PDF documents from MySQL query results
Author: By
Last change:
Date: 17 years ago
Size: 1,386 bytes
 

Contents

Class file image Download

Class: Sql2PdfReport

This class generates PDF Report from SQL query.

Here's how it works:

  • Executes given query and generates HTML report first
  • Appends query reports to previous report(if any)
  • Creates a temporary HTML file and store that as HTML report
  • Creates PDF report for that HTML report by using remote application

For Remote PDF Application, I have used html2ps and html2pdf (supplied by http://www.tufat.com/script19.htm). It is 100% FREE for commercial AND non-commercial use! It renders pages as PDF documents and PostScript files. I have deployed this application to phpResource(http://groups.yahoo.com/group/phpresource/) group's server for easy and reliable access. My special thanks goes to phpResource group.

And Me: I am a hardcore C/C++ and PHP programmer. I enjoy my times in implementing varities of freelancing works.

Please rate this class if you like and if it comes to your needs. Please feel free to contact me for any suggestion and/or further assistance regarding the technique and its implementation.

MA Razzaque Rupom Moderator, phpResource Group http://groups.yahoo.com/group/phpresource/ My Blog : http://www.rupom.info Emails: rupom_315@yahoo.com rupom.bd@gmail.com