05-29-2008, 09:13 AM
|
#3 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
|
Make sure you don't ouput (eg: echo, or even just whitespace) anything before calling the Excel functions. This error means that the options (headers) of the page have already send while your Excel class tries to add/change a header. After the headers are send, you can't edit/add headers.
You can fix this by simply calling ob_start(); at the top of your script, not a very clean way to fix it though...
__________________
Nunchaku! Who doesn't like martial arts? =)
|
|
|