How can I export data into Word/Excel documents?
One of the simplest ways to get data into a format that can be used with Excel is simply to write a .csv text file, or comma separated file, and then open this in excel.
This will split the data into columns based on where the commas are, so you will need to ensure that your data is well formatted to make this value, and so this means that the comma only appears as a separator for instance and if it appears elsewhere it is escaped.
Comments on this Question/Answer
How can I export data into Word/Excel documents?By: Rajiv Singh, 18 Dec 2008 05:53:07
Reply to comments / post your own comment >>>
ASK A QUESTION
More files PHP Questions
I am trying to find the most recent directory that I am working in. example http://www.mysite.com/apples/index.php how do I get php to find the directory "apples" so I can make it a directoryWhat does file_get_contents do?
how can we erase some data in a txt file after some bytes
Getting first five lines from a file
how to upload large files like mp3 songs in php
