Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Additional functionality for psxlsgen

open
nobody
None
5
2005-10-08
2005-10-08
wiht
No

At my workplace, I recently had a project where I had
to generate an Excel file from some database data. I
found this Excel generator and installed it on the
project's website. After some difficulties with version
0.3, I installed and used version 0.2.

In the course of the project, I made additions and
modification to the PhpSimpleXlsGen class that I would
like to share with you. The attached file contains the
functions I wrote and modified, preceded by comments
about what the modifications were.

A note on the SendFile function: I had to test the code
in Internet Explorer 6 and Mozilla Firefox. The file
would not save in IE until I put the header() calls in
the sequence in which they are now. I took this
sequence from PEAR's SpreadsheetExcelWriter package.

Discussion

  • wiht
    wiht
    2005-10-08

    New code

     
    Attachments