Jump to content

Recommended Posts

Am using Open Flash Chart (OFC) for graphs on my site. I've been trying to figure out for the past few days how to get dynamic data from the database. There's two problems I've found so far: 1) when I pass a variable through the link (open_flash_chart_object( 500, 250, 'http://'. $_SERVER['SERVER_NAME'] .'/open-flash-chart/data-3.php?user=1' ); ), it will only accept static data, not dynamic (so when I try to do data-3.php?user=$user, it won't work); 2) even though I have the static variable in that is used in the database, the second part of the file code will not grab the data and put it into the graph (it comes up as null).

 

The link to the tutorial is http://teethgrinder.co.uk/open-flash-chart/tutorial-db.php. I've tried using the tutorial's way of getting data from the db, but no luck. Anyone have a clue? Thanks (yet again).

Link to comment
https://forums.phpfreaks.com/topic/78094-open-flash-chart/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.