Easily add interaction to your web site by adding a poll. Bruce Alderman shows you how, as well as discusses the security issues and other concerns.
By : Bruce Alderman
One of the easiest ways to turn a static web page into a dynamic site is to add a poll. A poll can tell you what visitors think about your site or about the burning questions of the day. A good poll can keep people returning to your site to check the latest totals. Internet polls also have their drawbacks. A determined user can skew the results by voting more than once.
In this tutorial I will show how to make a simple poll using PHP and MySQL, and discuss possibilities for expanding it. Then I will discuss the problem of multiple votes by a user, the methods poll makers have used to try to prevent this, and the limitations of each method.