Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

What I'm looking to do here is have a poll placed on its own dedicated page, where 30 or so answers/poll choices are available. When visitors/users click to cast vote on whatever he/she likes, the more votes an answer/poll choice get the higher it ranks in the in the overall poll.

Hope I'm not confusing about what I'm looking for, but could anyone direct me to such an application/widget.

share|improve this question

closed as off topic by Eight Days of Malaise, Al E., ChrisF Oct 18 '12 at 21:07

Questions on Web Applications Stack Exchange are expected to relate to web applications within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

If you're storing votes in a database then ordering then using something like:

SELECT poll_question.text, poll_question.id, COUNT(poll_vote.id) as votes FROM poll_question LEFT JOIN poll_vote ON poll_vote.question_id = poll_guestion.id) GROUP BY poll_question.id ORDER BY votes WHERE poll_question.poll_id = current_poll_id

most MVP frameworks will have a simpler way to compost this. What type of situation are you creating these polls in?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.