Thread: Graphics

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    2
    Rep Power
    0
    Well I'm completely newbie to php...

    I would like to show my Mysql data as graphics, pie charts, diagrams etc...
    Is there any way to do that by using PHP?

    At this moment I'm just using php to show
    my web visitors numerical data in columns
    which is not really nice....


    Thanks in advance,
    Ernie
  2. #2
  3. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    Yes, it's completely possible with PHP; just see http://px.sklar.com/code-pretty.html?code_id=461 or go to http://www.phpbuilder.com/columns/allan20000830.php3 for an article on graphing with PHP.

    However, your server configuration is another matter. PHP does not ship with built-in graphics creation functions, but there is an external library called GD, at www.boutell.com/gd

    Many people, including myself, have had some real headaches installing PHP with GD support. I finally found one method which works for Unix systems, and I posted it at http://www.php.net/manual/ref.image.php (see the user-contributed note at the bottom). Also the user comments under the PHPBuilder article can help with installing PHP and GD on Windows.

  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    2
    Rep Power
    0
    Thanks a lot,

    I spent the whole weekend looking for
    a clue and yours put me in the right direction.
    I forgot to say I'm working on Win NT and
    found a nice PHP installer compiled with
    GD support.

    Allan article is fine and learnt me all what
    I needed to know now although he finishes saying something like 'to be continued' but
    I could find no second part due to text and axes...

    Well, thank you very much again.
    Ernie

Similar Threads

  1. html mail with inline graphics not working in NS Mail
    By shawn4 in forum PHP Development
    Replies: 2
    Last Post: November 7th, 2005, 07:53 AM
  2. Project Description for Graphic Designer for web graphics
    By jhertzba in forum Project Help Wanted
    Replies: 4
    Last Post: December 8th, 2003, 09:04 PM
  3. Blotchy graphics
    By Collin Boyd in forum Beginner Programming
    Replies: 4
    Last Post: October 13th, 2003, 01:32 PM
  4. Need advice on web site graphics...
    By SAFX in forum Web Design Help
    Replies: 11
    Last Post: September 16th, 2003, 03:01 PM
  5. setting up my other graphics card to work
    By jakedawg in forum Linux Help
    Replies: 2
    Last Post: July 30th, 2003, 07:45 PM

IMN logo majestic logo threadwatch logo seochat tools logo