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

KillerPHP.com: Zend Framework Components Part 2: Zend_View

Giorgio Sironi's Blog: Never write the same code twice: Dependency Injection

Chris Shiflett's Blog: OSCON 2006 Redux

Alexander Netkachev's Blog: Practical PHP events: The Java way

Ibzi's Blog: Start caching all your pages in 5 steps


Community Events





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


deployment opinion list introduction symfony interview podcast bugfix tips framework language package community laravel series api library install release voicesoftheelephpant

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