views:

14

answers:

1

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 everyone in advance.

+3  A: 

This tutorial covers in-depth of what you want:

shamittomar
Thanks shamittomar, this helps me with my backend php coding, but any help with the iphone portion? Will it just be a button that increases the field by 1 in my database? Sounds like it could be simple, however, I want to make sure that someone can't hit the vote button 30 times for one answer.
BigMike
See this: http://github.com/zueos/ZIStoreButton. It's a "BUY NOW" button like in the App store but if you edit it you should be able to make it say anything you like and it will only be able to be pressed once.
Joshua
Thanks Joshua, i'll mess around with that.
BigMike