hi, i have tried to use gd graph, it works, however, whenever i will input a message, it does not appear. if u will display the graph and the message in a separate webpage, it will appear. now, my question is that, is it possible to merge the graph and the message in one page??? i really need to make it. i should make it. thanks..

hi, i have tried to use gd graph, it works, however, whenever i will input a message, it does not appear. if u will display the graph and the message in a separate webpage, it will appear. now, my question is that, is it possible to merge the graph and the message in one page??? i really need to make it. i should make it. thanks..

The way that I have always went about pulling GD images into the pages was to place the code for the graph in a seperate php file that ONLY generated the graph image, and then called on it through an include.

If the graph has to have dynamic variables, you could always pull it like:

<img src="graph.php?this=that&one=two" />

Just my 2ยข.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.