Forum Moderators: coopster

Message Too Old, No Replies

thoughts on a complex rating script

         

wbm101

6:50 pm on May 2, 2003 (gmt 0)

10+ Year Member



I have a huge list of providers listed in a mysql database and presented in table form onto an html page.

What I want to do is give visitors the ability to rate EACH provider.
The exact same 'rate me' code will be present over 300 times on the same page which is causing a big problem in finding a script that can:

#1. allow for multiple code of the same 'poll' on one page
yet offer up independent result for each one.

#2. limit how many times a user can vote PER CELL of the table {I need for them to rate several providers but not vote 10 times on one individual provider)

#3. Allow visitors to view the results WITHOUT having to vote first.

I'm not looking for anything fancy visual wise, simple is fine.

Can ANYONE lead me in the right direction, I'm desperate here! lol

jatar_k

7:00 pm on May 2, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld wbm101

what scripting language are you planning on using?

wbm101

7:34 pm on May 2, 2003 (gmt 0)

10+ Year Member



thank you :)
I've been a lurker for some time lol

I'd prefer PHP but I'm easy .. whatever will do the trick without messing up the PHP, JS and CSS i'm already using lol

you have any suggestions? I can't find a script that'll accomplish this for the life of me *sigh*

willybfriendly

8:02 pm on May 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I am following what you need correctly, it seems that a drop down list in the far right table cell would solve the problem. You could then rate as many or few of the entries as you wanted, but only once per entry per call to the page. It would be easy enough to pull the repsonses from the form and store in your db.

I am assuming a simple rating system, say 0-5.

WBF