News Feed
Sections




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

Justin Silverton's Blog:
Excel and php without COM
March 28, 2006 @ 07:01:46

At times, working within the confines of a Microsoft world can be frustrating, especially when it comes to making more advanced versions of files (i.e. a "real" Excel file versus a CSV). In this example, Justin Silverton gives us an example of how to do just that - use PEAR to create an Excel 5 file.

He uses the Spreadsheet_Excel_Writer package to create the file without the need for getting COM in the mix. The package makes it simple to take in a dataset and write it out to a workbook - complete with column headers.

He shows two ways to save the file as well - creating a local file (on the web server) and pushing it out to the browser.

It's a simple introduction, but it's a starting place - especially for those with a project plan that requires it.

0 comments voice your opinion now!
excel com without spreadsheet_Excel_writer PEAR excel com without spreadsheet_Excel_writer PEAR


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: More OpenID (in PEAR and Refactoring)

Matthew Weir O'Phinney's Blog: Phly_Struct? no, Phly_Hash...

Lukas Smith's Blog: Brideing the rift between PEAR_Error and PEAR_Exception

Cyberlot's Blog: PHP bugs, whos responsible? Do they even read them?

Juozas Kaziukenas' Blog: Creating Excel documents on the fly


Community Events

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


release extension install introduction xdebug library unittest framework opinion community laravel series laravel5 example api language interview php7 voicesoftheelephpant podcast

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