radio-buttons and PHP; may be a bit OT.
Gary Kline
kline at thought.org
Thu Jun 18 20:50:06 UTC 2009
After a lot of trial and error I have a PHP version of radio buttons
working in a test.php. It asks the user to rate the article/story
in standard Lykert (5-way) methodology. 1) Liked ... to 5) Disliked.
The code works; still polishing for errors. I need a way to store the
results, tho. So, for story baz.php, say, should I save the count of
times rated, then average [%f] the ratings? Or is there a more swift
algorithm?
gary
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 4.98a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions
mailing list