I am getting this warning
Cannot add header information - headers already sent
I am very well aware of the cause.
I have also figured out that "<br>" gets added in from some file that is probably auto prepended before i sent the headers. So thats causing the problem
I am lookin for a quick n dirty fix. is there any way where i could clear the contents (i.e output) before i send any headers ????
I really donot want to waste my time in looking for the file that gets appended automatically, that would have to make me to go through all the HTML templates and look out for one that gets appended.
what i want to do is to clear the output before i send any headers
Heres the code sample
<? header("Content-type: application/vnd.ms-excel");
$max_rows = 36;
$wo_number = $asn_info[0]["wo_no"];
$parameter = $PHP_SELF."?wo_number=".$wo_number;
?>
It seems like "<br>" gets inserted from some auto appended file
before i send the headers.....
i wud really appreciate ur help !!!!
thanks
Viv