Re: export data to a ms excel file using php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-10-22 at 22:04 +0000, ceo@xxxxxxxxx wrote:
> The easiest solution is to output CSV, and use the Content-type to force it to be eXcel.
> 
> 
> 
> Excel will suck the CSV in just fine, with minimal hassle by the user.
> 
> 
> 
> It also makes a file that is useful for many more applications, not just Excel.
> 
I don't think this is right for the situation, as you'll see if you
re-read the original question. He wants to preserve things like column
widths, and I know for a fact that Excel will not automatically expand
all columns to best fit the data, and CSV is a pure data format, so will
not do here.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux