05-29-2008, 09:16 AM
|
#4 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by Jim
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...
|
Well the flush() does it pretty much xD should I have put the ob_start in my post? :O
__________________
VillageIdiot can have my babbies ;d
|
|
|
|