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/AnswerHow 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 QuestionsHow can I view a Word document in a PHP page?
How do i keep my site menu in one file?
i have a VPS(OS:windowsServer2003) with 1Gbps InternetSpeed ,and i install FilezillaClient and WampServer on this vps,and i have a netload.in account,i uploaded file(size:4GB)by filezilla client to netload ftpserver and speed of uploading was goood,but wh
What does file_get_contents do?
the visitor fills out an entire page of text. It is saved then later pulled up and edited. What kind of file? How is it saved? How is it accessed?