This is an old post. The information it contains is probably out of date or innacurate
This is a post that was written a long time ago and is only being kept here for posterity. You should probably look up more recent blog posts related to the subject you are researching
Some people like their excel files. For people who want their data exported in an excel format checkout this chunk of code. It’s really easy :–)
First of all you need to download this php excel class
Now try this code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
That’s got to be the easiest thing you have ever done in PHP. Thanks goes to the excellent PHP Classes site.
Here is some further reading: PHP Excel Formula Parser PHP Excel Export class Export data directly to Excel by configuring the MIME Type Profile Option Power your PHP Business Logic with Excel Reading/Parsing Excel Spreadsheet using PHP