Jump to content

Unique Poll Help


TM3909

Recommended Posts

Hey all, Brand new to the forums and need some serious help.

 

I'm currently designing a website where a user fills out a form to post information (Name, rank, serial number; Basically a Comment system). I am in need of a poll system that will sit under each comment, allowing users to vote "Hey that was good" or "no that sucks!" type of thing.

 

I can code a simple poll, but its the same poll for all the entries. I've yet to figure out how to make the poll unique for each comment. Any help would really be appreciated!

Link to comment
https://forums.phpfreaks.com/topic/104567-unique-poll-help/
Share on other sites

Just insert the user's IP into the table.  Whenever someone votes, check to see if their IP is the same as one in the table.  However, some AOL users may be able to vote again, due to changes in IP.  Also, if someone uses a proxy or something like that, they would be able to vote again.  I know that is not the real issue, but I figured I would bring it to your attention.

Link to comment
https://forums.phpfreaks.com/topic/104567-unique-poll-help/#findComment-535282
Share on other sites

http://www.crunchgear.com/2007/10/27/leopard-on-a-pc/

 

To make it really simple, Look at the comments on this page.

 

"Was this comment useful?" - I need that system. That site is using some type of service, but all I need is to build that feature.

 

lol I'm a complete noob at this, forgive my complete confusion.

Link to comment
https://forums.phpfreaks.com/topic/104567-unique-poll-help/#findComment-535287
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.