I'm getting a headers already sent error but they are quite obviously not. The page being displayed just has this error on it. It is sayong that the error is comming from an included file I have that looks like this.
<?
function cdwow_id($cdwow_id_array) {
sort($cdwow_id_array);
$part_one=substr($cdwow_id_array[count($cdwow_id_array)-1],0,4);
$part_two=substr($cdwow_id_array[count($cdwow_id_array)-1],4);
$part_two+=1;
if($part_two<10) {
$part_two="00".$part_two;
} elseif($part_two<100) {
$part_two="0".$part_two;
}
return $part_one.$part_two;
}
?>
Can anyone think why this might be happening?
Thanks Rob
PS.
Here is the html being outputted by the oage if it helps
<br />
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /home/httpd/maintenance/service/robert.y/woman/array.php:17) in <b>/home/httpd/maintenance/service/robert.y/woman/cosmetic/create_cosmetic_product.php</b> on line <b>35</b><br />