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.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (75.0%) |
Sufficient (75.0%) |
- |
Good (83.3%) |
- |
- |
Not sure (53.3%) |
1119 |
| Month: |
Not yet rated by the users |
| Link |
Description |
| Voting class |
This is an experimental class which allows you to create beautiful colored polls. |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| File |
Role |
Description |
class.vote.php |
Class |
The class itself |
example.php |
Example |
The example |
vote.txt |
Example |
You need this file for the class (Here the votes are saved) |