Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Making a graph from values held in phpmyadmin database

New Here ,
Mar 01, 2010 Mar 01, 2010

Hello all,

I have a table in a phpmyadmin database holding information of teams scores. The table is called tbl_teams and the fields are pointswk1_team, pointswk2_team etc upto 5. I'm using Dreamweaver CS4 and have setup a recordset that will get the information from one users team. The recordset only fetches information about 1 team in the table as it is filtered using a session variable.

With these results i would like to display a simple line graph or bar chart, which ever is easiest really! so that a user can see the progress of their team.

Any help or advice would be appreciated.

Ideally i would like to achieve this without the use of an extension.

Thanks,

Peter

TOPICS
Server side applications
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2010 Mar 02, 2010
LATEST

pb1uk wrote:

I have a table in a phpmyadmin database

No you don't. phpMyAdmin is simply a front-end for MySQL. Your database is in MySQL, not phpMyAdmin.

I know it sounds like a nitpick, but if you're going to be working with PHP and MySQL, you need a good understanding of the various parts, and how they fit together.

With these results i would like to display a simple line graph or bar chart, which ever is easiest really! so that a user can see the progress of their team.

Dreamweaver can't do it out of the box. You need to do some serious coding yourself. Do a Google search for "create a graph with PHP". You'll come up with some useful links and tutorials. The better you understand PHP, the easier you'll find it to do.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines