This is a discussion on php graphs within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello, I have a web form that submits a number of values to a php script. At the moment all ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have a web form that submits a number of values to a php script. At the moment all it does is e-mails these results to an e-maill address using the mail() function. What I would really like it to do is use the 5 values generated int the script to create a bar graph and then attach this to an e-mail and send this as well as the results in text form. I have hunted around the net and the only code I can find so far to generate a graph is either very complecated looking or is part of a package I would have to buy. I was wondering if there was a function in php like the graph function in the GD::Graph::bars package and something that works like the MIME::Lite package for attaching a picture to an e-mail. Any help would be greatly appreciated Thanks and regards JMcC |
|
|||
|
JMcC wrote:
> > What I would really like it to do is use the 5 values generated int the > script to create a bar graph and then attach this to an e-mail and send > this as well as the results in text form. I have hunted around the net > and the only code I can find so far to generate a graph is either very > complecated looking or is part of a package I would have to buy. I was > wondering if there was a function in php like the graph function in the > GD::Graph::bars package and something that works like the MIME::Lite > package for attaching a picture to an e-mail. > > Any help would be greatly appreciated > Generating the *chart* and attaching it are two seperate things - you're not likely to find a package to do both. Jpgraph is IME the best PHP charting package - indeed better than any I've used on other platforms too. Its free to use in some circumstances, and where it's not free to use, a licence caosts a lot less than any other method of getting the same result. C. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|