Vvv
Vvv

Reputation: 53

Up/down voting script

I'm trying to develop a voting system in PHP for my posts where visitors can vote them up or down and then I should be able to sort posts by highest/lowest rated.

Can anyone please recommend a good script I can use for this?

Upvotes: 5

Views: 5923

Answers (3)

abhisek
abhisek

Reputation: 952

You can use this one: http://www.technabled.com/2011/02/pulse-lite-reddit-ajax-up-down-voting.html Disclosure: I am the developer.

Upvotes: 1

Michael Goldshteyn
Michael Goldshteyn

Reputation: 74330

The following links refer you to pages with a bunch of such voting scripts. Some are free and some you have to pay for:

Upvotes: 2

Yuval Adam
Yuval Adam

Reputation: 165182

There is no "script" that will magically do this for you.

You will need to create a table in your MySQL database, which at the very least has two fields, post id, and vote count.

You will also need to create a PHP page which handles vote updates as well as returning posts in sorted order.

Upvotes: 3

Related Questions