News Feed
Sections




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

Juozas Kaziukenas' Blog:
Creating Excel documents on the fly
February 17, 2009 @ 12:55:45

Juozas Kaziukenas has a new blog post that looks at creating Excel documents on the fly with the Spreadsheet_Excel_Writer PEAR package.

In one of my projects, we need to send emails to our suppliers with new orders as Excel spreadsheets. We used to do it by hand, but when you have 10 suppliers and you make 200 products orders per week, after some time you are just tired of creating Excel spreadsheets, mailing them and so on. So, my task was to implement automatic spreadsheets creation with PHP.

His example creates a basic file with a set of "Items", some formatting and a set of code/title items to fill out each row. The end result can then be packaged up and sent out as a complete Excel XLS file.

0 comments voice your opinion now!
excel document create tutorial spreadsheelexcelwriter pear package spreadsheet


blog comments powered by Disqus

Similar Posts

Maarten Balliauw's Blog: Indexing Word 2007 (docx) files with Zend_Search_Lucene

Experimentalworks Blog: DTracing PHP

Stefan Mischook's Blog: Object Oriented PHP Videos are now out!

Sebastian Nohn's Blog: Using Net_DNSBL and Nagios to check if your SMTP server is listed in a RBL

Label Media Blog: Design Patterns in PHP - Strategy Pattern


Community Events





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


interview series update introduction release tool community security framework library voicesoftheelephpant podcast install opinion symfony package composer laravel version language

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