PHP Classes

Voter: Manage survey to vote on colors

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 1,264 All time: 3,030 This week: 207Up
Version License Categories
voter 1.0.0BSD LicenseStatistics, Content management
Description 

Author

This is an example class that can manage a survey to let users vote on colors.

The class updates a file after each vote to stores the count of each survey option.

The class can present the results of the servey as colored images with the name of each option and the respective result number as a percentage.

Sessions are used to keep track of the users that voted. An user that closes his browser may vote again.

Picture of Daniel Thul
Name: Daniel Thul <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 33
All time rank: 59539 in Germany Germany
Week rank: 312 Up18 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.vote.php Class The class itself
Accessible without login Plain text file example.php Example The example
Accessible without login Plain text file vote.txt Example You need this file for the class (Here the votes are saved)

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,264
This week:0
All time:3,030
This week:207Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2170
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar