[thelist] PHP .xls export

Norman Beresford n.beresford at anansi.co.uk
Mon Feb 27 04:46:22 CST 2006


Hi Rick

What version of Excel are you targetting?  If it's the latest versions
then create your spreadsheets as XML documents using the SpreadsheetML
schema, which allows you full control over formatting.

http://www.microsoft.com/office/xml/default.mspx

Norman 

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org 
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Rick den Haan
> Sent: 25 February 2006 18:48
> To: eVolt theList
> Subject: [thelist] PHP .xls export
> 
> Hey all,
> 
> Can anybody recommend a PHP class that allows me to export to 
> the Microsoft Excel .XLS file format? Requirement: I need to 
> be able to format contents (in particular I need to be able 
> to make items bold)
> 
> I've found lots of classes that allow me to output 
> unformatted data to Excel, but the only one that could output 
> bold items uses a PEAR module.
> Unfortunately, my client's server does not have the PEAR 
> extension to PHP installed, and server admins have informed 
> me that installing it is not an option.
> 
> I could use CSV output, but AFAIK that format does not 
> support formatting...
> 
> Any ideas?
> 
> Rick.
> -- 
> 
> * * Please support the community that supports you.  * * 
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip 
> Harvester and archives of thelist go to: 
> http://lists.evolt.org Workers of the Web, evolt ! 
> 



More information about the thelist mailing list