Web site design question – advanced programming?

I am interested in creating a voting function that would basically work like the thumbs up thumbs down on sides like Y!A or YouTube. Ideally this vote would result in an immediate update to change a net score and possibly set a cookie to prevent someone from voting for the same item multiple times.

I know how do do this using PHP and MySQL, but the results would not be displayed until the next time the page is refreshed. I would also like to avoid a page refresh between each vote. Basically I would like the person to be able to scroll down the page click to vote and be done with it.

I’m not asking for specific information about how to do this, just ideas to point me in the right direction. Would you do this with JavaScript or some other technology?

To have a thumbs up thumbs down voting system without refresh requires AJAX.
It is not "that" complicated and I will give you the solution, but it is going to take an hour or two.
Go to http://www.web2coders.com tomorrow or later today: I’ll put up a "Voting Script" in the free scripts section. It will be a Zip file to download (images, voting.css, index.php, voting.js, Sajax.php).
A lot of people have asked for this
I have implemented it in "www.namibiaanswers.com". Have a look!

5 Responses to “Web site design question – advanced programming?”

Leave a Reply