This article will teach you how to write a basic poll script in php. You will mysql and a new version of PHP.
The first step is to create a database that will hold the information
all the polls we want. For this article we will be creating a poll that
will have 3 options. Yes, No, and Not Sure. So we will want to create
feilds for each of those. I used Option1, Option2, and Option. We will
also need a title and a question to ask. I created those as varchars.
Another feild will hold the total number of votes total. The most
important colum is the ID colum which will be an auto increment tinyint
that will help use to select, edit, and add new records. Here is the
schema of my table: