Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
On the site we present a report card on the company's performance such as: "Customer service is our priority" and then we have a textbox, asking users to enter a percentage score of how well we've done on this. So:
1) User A enters a number percentage (eg 33)
2) This number is added to other users' scores (eg 33 + 45 + 100)
3) An average percentage of all the users' scores is calculated (including the new user A's)
4) This average percentage is returned to user A
Hope you can help.
>>This number is added to other users' scores (eg 33 + 45 + 100)
How are you keeping a tally of past percentages? Are you pulling these from a database or text file? This may be something you should do server-side and not with client side script.
EDIT: I've just realised! I will repost in PERL/CGI forum!