I´m using two joined classes in my apli. First of then cath a column of a mysql table, and the second show their values in a line chart image. This second one works fine alone, but i get this result in my browser when i use it with the first one:
Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\test\test.php:7) in c:\apache\htdocs\test\Linechart.php on line 30
ÿØÿàJFIFÿþ:CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 0 ÿÛCÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÛC
The image is not displayed, but it's shown like text. 😕
Now, i´ve discovered, i can make a .jpeg file correctly, but still getting my apli don´t show any header warning, the image is shown in text code if i try to display the chart directly.
Can anybody help me please??? 🙁
Thanks.