Posted by Captain Paralytic on 06/20/07 11:50
On 20 Jun, 12:13, Dawid Pustulka <DPustu...@gmail.com> wrote:
> How to export data to xls file using PHP? Is it possible to edit a
> look of document (like cell size, borders etc.) ? Please help.
http://www.koders.com/php/fid2163EF6648BF0A5A9D58837899B249F420EF45A5.aspx?s=mary
has a simple class to create a workbook in Excel97 format.
phpclasses.org has some others.
Alternatively a tab delimited file with a .XLS sufix will load fine
into Excel.
To do cell size and borders you will need to create something in
Excel's xml format:
http://msdn2.microsoft.com/en-us/library/aa140066(office.10).aspx
[Back to original message]
|