Reputation: 921
i'm using PHP Graph Lib PHPGraphLib
i created some graphs , and all i need is to embed these graphs into html,, you know, inside and so on,, every time i put the code within html it gives me errors
The image “http://localhost/chart2.php” cannot be displayed, because it contains errors.
although without the html code , it works fine ...
Upvotes: 0
Views: 1676
Reputation: 28793
Assuming your image code is in chart2.php
, you embed it into html with an img
tag:
<img src="chart2.php" alt="This is a chart of x" />
Upvotes: 3