zhuanzhou
zhuanzhou

Reputation: 2453

PHP Poll system to each article

the Poll system have two part(the user cast poll part and the result show part) the cast poll part has two buttons. which is up and down. the result show part using five star to show the average result which casted by all the vistors. say concisely: the poll system has two button, on is up, another is down. when a vistor polls up/down. it will show the average poll result of the article. which is displayed by five stars.

Upvotes: 0

Views: 136

Answers (1)

Raisen
Raisen

Reputation: 4495

You need at least Javascript for that. To update the database dynamically when a button is pressed, you need some AJAX code.

Glance over http://jquery.com/ There are tons of examples, plugins, discussion there.

Upvotes: 1

Related Questions