|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
How to use this rating bow
how does one allow site viewers to actualy rate using the rate function
|
|
#2
|
|||
|
|||
|
RE: How to use this rating bow
Well, the way I do it is just to give them a drop down box with number one through ten. And then take their vote and stick add it to the current total vote in the table update the number of votes in the table. I also add their username and ip address to a table to make sure they aren't duplicate voting...
so say you have an item that has two votes on it, one for '6' and one for '8', in the table I would have 14 for a rating and 2 total votes recorded..then I can do the math on the fly.... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > How to use this rating bow |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|