PHP Classes

Export To Excel: Generate HTML tables from MySQL query results

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 11,255 All time: 110 This week: 488Down
Version License PHP version Categories
export 1GNU General Publi...3HTML, Databases


This class can be used to generate HTML tables from MySQL query results to be downloaded as a file Microsoft Excel can read.

It executes a given MySQL query and generates an HTML table from the query result data.

The class can also generate the necessary request headers to make the outputted HTML be downloaded as file by the browser with a file name that makes the file be readable by Microsoft Excel.

Picture of raju mazumder
Name: raju mazumder <contact>
Classes: 2 packages by
Country: Bangladesh Bangladesh
Age: 40
All time rank: 1153 in Bangladesh Bangladesh
Week rank: 275 Down6 in Bangladesh Bangladesh Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file dabasecon.php Conf. configuration file
Accessible without login Plain text file export_html_file.html Data html file to export
Accessible without login Plain text file export_file.php Example php file
Accessible without login Plain text file testclass.php Example Test file
Plain text file ExportToExcel.class.php Class Class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:110
This week:488Down
 User Ratings  
 All time