Jump to content

Archived

This topic is now archived and is closed to further replies.

timtom3

PHP graphs

Recommended Posts

Hi I was just wondering if there was any free graph scripts that were easy to install as I have a page count on my site that goes into mysql and would like to display it as a graph.

Also how would i collecet the information for what time of day a page has been view and with what browser?

Share this post


Link to post
Share on other sites
There's a class called JPGraph that is excellent for this, and straight forward to use.

You can get the current date with the date() function, and it's possible to grab the users browser with $_SERVER['HTTP_USER_AGENT'] although this doesn't work with [i]all[/i] browsers, but does with the most common ones, so you should be ok.

Share this post


Link to post
Share on other sites

×

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.