Implement Plus 1 or Thumbs Up system for iPhone app
My app is a question/answer type forum for the iphone, where users view questions and answer. I'd like to implement a thumbs up system so users can give good answers the "thumbs" up. My backend is all php, so essentially when a user posts a question or answer, the data is passed via URL to my php script, which then inputs the data to my database.
Each user, when they post, will have their Rating shown, such as "Rating: 24".
What's the best way to implement such a system?
Thanks to ev开发者_Go百科eryone in advance.
This tutorial covers in-depth of what you want:
- Voting system with jQuery, Ajax and PHP. A very detailed tutorial on Dzone like voting system with jQuery, Ajax and PHP. This script helps you to display user votes on blog post.
精彩评论