hi
i am designing a php page, a part of which fetches data and creates a bar chart using phplot in a separate php file. I want to insert a hyperlink on that phplot bar chart page to return to the previous page. It would be helpful indeed if you could give me a sample php code with a link as described above.
thanks :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unless you are using $plot->EncodeImage() to embed the plot image in your page, you have 2 PHP scripts. The first produces an HTML page with an image inside it, using <img src="otherscript.php">. The second ('otherscript.php') uses PHPlot and returns only image data, not HTML. There are no hyperlinks inside images. (The whole image can be a hyperlink, or an image map, but that is produced by the first script, not the second script.)
Or have I completely misunderstood what you are trying to do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi
i am designing a php page, a part of which fetches data and creates a bar chart using phplot in a separate php file. I want to insert a hyperlink on that phplot bar chart page to return to the previous page. It would be helpful indeed if you could give me a sample php code with a link as described above.
thanks :)
Unless you are using $plot->EncodeImage() to embed the plot image in your page, you have 2 PHP scripts. The first produces an HTML page with an image inside it, using
<img src="otherscript.php">
. The second ('otherscript.php') uses PHPlot and returns only image data, not HTML. There are no hyperlinks inside images. (The whole image can be a hyperlink, or an image map, but that is produced by the first script, not the second script.)Or have I completely misunderstood what you are trying to do?