PHP/MySQL bar Graph

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Smackie
Forum Contributor
Posts: 302
Joined: Sat Jan 29, 2005 2:33 pm

PHP/MySQL bar Graph

Post by Smackie »

I had someone ask me if I could build them a bar graph for there clan for a game and I said i would since i am kinda getting paid for it lol.. but all Im asking for is to help me find a tutorial on something kinda like what i need or even alittle help to point me in the right direction..

I'll try explaining as best as i can..

Ok Each month a person will upload each players stats into a form and submit it which will go into database and come out as a bar graph which will show the last months and the current month and also create a download file where users can download and open in excel to view.. the graph will show all the players in the clan.. can someone give me a link to a tutorial or somethingt that will help me please.. Thank you

Smackie
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

If you can't seem to figure out how to do it in php, you could even do it with CSS/Tables fairly easily.

Now making it export into Excel, is a little more difficult, but have you tried the infamous google ?
Smackie
Forum Contributor
Posts: 302
Joined: Sat Jan 29, 2005 2:33 pm

Post by Smackie »

yes i been to google for the last 2 days all i get is crummy old php/swf or download other peoples work or it shows some asp and other ones.. i never found just a regular old graph scirpt that gets data from mysql
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

In your travels, did you happen upon Jpgraph?
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

Simple is if you are aware of co-ordinate geometry in mathematics and PHP language , use PHP-GD library...
Smackie
Forum Contributor
Posts: 302
Joined: Sat Jan 29, 2005 2:33 pm

Post by Smackie »

yes i came upon Jpgraph but its not what i need.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

Smackie wrote:yes i came upon Jpgraph but its not what i need.
How so? You don't want to create graphs anymore?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

JPGraph is fantastic, but it's really bloated if you're just making a simple bar chart.
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

And last time I checked is only free for personal use...
Post Reply