1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

A Simple PHP Poll

Thursday July 20, 2006
There are many ways to create a simple PHP poll. In our tutorial we show you one way you can run your PHP poll, and store user's votes in a MySQL database. We then display the results of the poll with a pie chart drawn using GD Library. We use cookies as a method of controlling vote spamming.
Comments
April 6, 2007 at 2:41 pm
(1) ManuelM says:

Error: “undefined imagecreate()”
You need to go to your php.ini and uncomment “extension = php_gd2.dll ” expression or calling the following dll
dl(”php_gd2.dll”). This is valid for php 5.
tata…

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.