|
Posted by Moot on 06/20/07 11:57
On Jun 20, 7:50 am, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> 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.
>
> 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
I find the XML method to be the easiest. But you don't have to bother
trying to learn the proper nodes and structure. Just make an excel
worksheet and fill it with fake data to make it look the way you want,
then Save As as XML and open the resulting document in a text editor.
You should be able to figure it out from there and replace the fake
data with the real.
Navigation:
[Reply to this message]
|