Hey,
I'm developing an visits counter and I'd like to increase a number depending on the browser and the operating system.
For example:
Firefox Mac OS X
Safari Mac OS X
Firefox Mac OS X
Firefox Linux
Then the website would display
Safari on Mac OS X 1 visit
Firefox on Mac OS X 2 visits
Firefox on Linux 1 visit
There are a lot of browsers and operating systems combinations, then I'd like to use an algorithm that will calculate that easily. The data is retrieved from a MYSQL database. Does anyone knows a good way to do it?