Re: Help ExcelWriter
| From: | Scott Mattocks | Date: | Fri, 17 Jun 2005 12:29:40 +0000 |
| Subject: | Re: Help ExcelWriter | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19661@lists.php.net to get a copy of this message | ||
Dan Rossi wrote:
I'm pretty sure the header is sent in the constructor ??Nope. You need to call the send method to spit out the headers and the file. http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.spreadsheet-excel-writer.send.php
Make sure that nothing else is being out put before the call to send. There shouldn't be any echo statements or any empty lines before <?php. -- Scott Mattocks scott@crisscott.com http://www.crisscott.comOn 6/16/05, devindra <devindra@telkom.co.id> wrote:I try to employs PEAR ExcelWrite Packages on my Box (Red Hat ES 3.0) and I copy/paste the example of displaying simple excel worksheet on the web. But I only got the ascii characters instead of excel worksheet. Could anybody know how to solve the problem?