Strange... I'm still getting a broken graphic and the "image" in it's own window comes up as an error page, same in a few browsers.
http://www.greenhybrid.com/compare/m...?system=Metric
Imperial and US show up fine.
here's the content of the page I get, in case it's not showing up for you:
Code:
<br />
<b>Warning</b>: Division by zero in <b>/home/gh/public_html/compare/mileage/functions.php</b> on line <b>15</b><br />
<br />
<b>Warning</b>: Division by zero in <b>/home/gh/public_html/compare/mileage/functions.php</b> on line <b>15</b><br />
<br />
<b>Warning</b>: Division by zero in <b>/home/gh/public_html/compare/mileage/functions.php</b> on line <b>15</b><br />
<table border=1><tr><td><font color=darkred size=4><b>JpGraph Error:</b>
HTTP headers have already been sent.</font></td></tr><tr><td><b>Explanation:</b><br>HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it's image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).<p>Most likely you have some text in your script before the call to <i>Graph::Stroke()</i>. If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser. <p>For example it is a common mistake to leave a blank line before the opening "<b><?php</b>".</td></tr></table>