Link to home
Start Free TrialLog in
Avatar of kidvid
kidvid

asked on

running average script

How can I build/get a script that gives a running average of 5 inputs? Example situation would be rating a given thing in 5 categories each category having a 1 to 5 scale. So a viewer would see the running average results of many people rating this thing in 5 categories. Can anyone help?
Avatar of Quixote
Quixote

KidVid-

Your 500 points will gain a lot of attention, and maybe someone here on the JavaScript board knows enough PERL to help you out, but this is a server-side question.  JavaScript can't possibly know what other people are ranking those this as, except to download a file that has the numbers.  In order to create that file, you need to output it dynamicly from a CGI, or use a CGI to write out a static file.  Either way, you need access to the server.

Good luck.  Cheers.
-Quixote
What type of server?  If it is IIS, I can do some ASP stuff forr you (Especially if the info is stored in a database).
ASKER CERTIFIED SOLUTION
Avatar of kollegov
kollegov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial