views:

51

answers:

2

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?

+1  A: 

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.

Yuval A
+1  A: 

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

Michael Goldshteyn