News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ThinkPHP.de:
Import and export data using PHPExcel
July 15, 2010 @ 10:21:12

On the ThinkPHP blog today there's a new post looking at their experience with PHPExcel to open, modify, save, etc Microsoft Excel files directly from PHP.

EAR's Spreadsheet_Excel_Writer combined with the project Spreadsheet_Excel_Reader on SourceForge was a good helper in the past - but only for BIFF5. BIFF8 support in spreadsheet excel writer has been a problem for a long time, and according to the authors, is still somewhat kludgy in the current version. So I needed an alternative. After a short research I stumbled upon PHPExcel which supports reading and writing of many formats in one API.

He lists some of these input and output formats and includes a simple example of how to use the tool. He creates a basic Excel file with a few different attributes (title, body, keywords) and show how to read in a document to extract the document's content.

0 comments voice your opinion now!
import phpexcel export tutorial excel microsoft


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Using JavaScript in PHP with PECL and SpiderMonkey

Zend Developer Zone: AJAX Chat Part Tutorial 6 : Updating the User List

Michael Nitschinger's Blog: Handling JSON like a boss in PHP

PHPro.org: SPL AppendIterator

Andrea Giammarchi's Blog: PHP Serialization And Recursion Demystified


Community Events





Don't see your event here?
Let us know!


symfony2 unittest release podcast list testing refactor code configure community interview laravel developer introduction install framework language threedevsandamaybe opinion series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework