Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

excel

A simple way to create a xls file

examle:

<?php
include "excel.class.php";

$excel = new Excel();
$excel->setColumns('id','name','email');

$excel->addRow('1','Commodo Cursus','[email protected]');
$excel->addRow('2','Condimentum Egestas Vulputate','[email protected]');
$excel->addRow('3','Fusce Ultricies','[email protected]');
$excel->addRow('4','Bibendum Vulputate','[email protected]');
$excel->addRow('5','Amet Risus Nullam','[email protected]');

$excel->addRows(
		array('6','Ultricies Elit','[email protected]'),
		array('7','Lorem Commodo Etiam','[email protected]'),
		array('8','Vulputate','[email protected]'),
		array('9','Condimentum Sit Commodo Pharetra','[email protected]'),
		array('10','Vulputate Fusce','[email protected]')
);

//$excel->save();
$excel->download();

About

A simple way to create a xls file

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages