PHP Classes
elePHPant
Icontem

PHP Export XLS: Export arrays as HTML tables or Excel XLS files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-04-17 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 357 All time: 6,758 This week: 330Up
Version License PHP version Categories
xportxls 1.0.0Public Domain5HTML, PHP 5, Files and Folders
Description Author

This class can export arrays as HTML tables or Excel XLS files.

It can take an array of multiple rows of data and generates an HTML table with the array data.

The result may be outputted to the current page or served for download with an Excel XLS content type so it can be opened by Excel.

Innovation Award
PHP Programming Innovation award nominee
May 2016
Number 3


Prize: One downloadable copy of Komodo IDE
Excel is the most popular spreadsheet program in the world. Many people use it, so it is common that Web applications generate data that can be imported in Excel.

Excel has its own native file formats to load and save data but it can also import HTML tables.

This class takes advantage of that fact to provide a simple solution to generate HTML tables from arrays and serve them for download using a content type header, so it makes the browser open the served spreadsheet data in Excel.

Manuel Lemos
  Performance   Level  
Name: Juan Pablo Irungaray ... <contact>
Classes: 3 packages by
Country: Guatemala Guatemala
Age: ???
All time rank: 29012 in Guatemala Guatemala
Week rank: 707 Up1 in Guatemala Guatemala Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Xportxls.php Class Xportxls.php

 Version Control Unique User Downloads Download Rankings  
 0%
Total:357
This week:0
All time:6,758
This week:330Up
User Comments (1)