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    
Ratings Unique User Downloads Download Rankings
StarStarStar 40%Total: 380 All time: 6,656 This week: 216Up
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
Picture of Juan Pablo Irungaray Segura
  Performance   Level  
Name: Juan Pablo Irungaray ... <contact>
Classes: 3 packages by
Country: Guatemala Guatemala
Age: ???
All time rank: 28802 in Guatemala Guatemala
Week rank: 1022 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:380
This week:0
All time:6,656
This week:216Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:2998
  
For more information send a message to info at phpclasses dot org.