Home arrow MySQL arrow Creating a Voting Poll With PHP And MySQL Part 1/2
MYSQL

Creating a Voting Poll With PHP And MySQL Part 1/2


Voting polls provide a level of interactivity in a sense that visitors can express their opinions about particular topics and areas of interest, simply by choosing their response to a question and clicking on a vote button. In this series of two articles, Mitchell's going to show us how to create an interactive voting poll system. It will contain an admin page and a page to vote and view results.

Author Info:
By: Mitchell Harper
Rating: 4 stars4 stars4 stars4 stars4 stars / 634
January 15, 2002
TABLE OF CONTENTS:
  1. · Creating a Voting Poll With PHP And MySQL Part 1/2
  2. · Creating the database
  3. · Adding a poll to the database
  4. · Deleting a poll from the database
  5. · Conclusion

print this article
SEARCH DEVARTICLES

Creating a Voting Poll With PHP And MySQL Part 1/2
(Page 1 of 5 )

Besides regular content updates and moderated forums, voting polls are one of the best ways to attract more traffic to your site. Voting polls provide a level of interactivity in a sense that visitors can express their opinions about particular topics and areas of interest, simply by choosing their response to a question and clicking on a vote button.

In this two-part article I'm going to show you how to create a PHP driven voting system. The voting questions and answers will be stored in a MySQL database and I will show you how to develop a web-based administration section to add and delete new poll questions.

To test the code samples in this article, you should have a Windows NT, 2000, Linux or Unix server running the latest version of PHP and Apache. This server should also have MySQL installed and configured. You should be proficient with PHP and MySQL also.

In this article I'll describe how to create the administration page to add and delete polls. In the next and final article, I will describe how to allow users to vote, add those votes to the database, display the results and stop visitors from voting more than once.
blog comments powered by Disqus
MYSQL ARTICLES

- MySQL and BLOBs
- Two Lessons in ASP and MySQL
- Lord Of The Strings Part 2
- Lord Of The Strings Part 1
- Importing Data into MySQL with Navicat
- Building a Sustainable Web Site
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- PhpED 3.2 More Features Than You Can Poke ...
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- Security and Sessions in PHP
- Setup Your Personal Reminder System Using PHP
- Create a IP-Country Database Using PERL and ...
- Developing a Dynamic Document Search in PHP ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials