View Single Post
Old 05-29-2008, 09:13 AM   #3 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default

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? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote