换个问法,“Cannot add header information - headers already sent by (output started at D:\n\w\sw\11.php:74) in D:\n\w\sw\11.php on line 124
”是什么意思?
第74行“for($i=0;$i<$DataNumber;$i++) $DataTotal+=$this->DataArray[$i]; //算出数据和 ”
第124行“header("Content-type:image/png");”
根据示例我只成功一次,做出饼图,其它的时候输出的都是乱码,好像是由第一个错误引起的,以html输出图象,我但不知在哪里改起,请各位英雄帮忙。