php graphs

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-22-2006
JMcC
 
Posts: n/a
Default php graphs

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

Reply With Quote
  #2 (permalink)  
Old 01-22-2006
Colin McKinnon
 
Posts: n/a
Default Re: php graphs

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0