A clean, error-free Online Voting System (Voting Platform) built in PHP 7 with full source code — perfect for college and campus elections.
VOTING is an online voting platform where registered voters log in and cast votes for candidates within their organization. It runs on PHP 7, ships with a polished front-end and back-end, and is a popular choice for student election projects.


What is the Online Voting System?
An administrator sets up an organization (for example, a campus election), adds the positions to be contested, and adds the nominees for each position. Voters then log in and vote. The system keeps the process organized and includes handy touches like clean URLs and forgot-password email notifications.
Key Features
- Voter login and secure voting flow
- Admin manages organizations, positions, and nominees
- Clean, SEO-friendly URLs
- Attractive front-end and back-end design
- Forgot-password email notification
- Works with PHP 7
Technologies Used
- PHP 7
- MySQL database
- HTML5, CSS3 and JavaScript front-end
How to Install and Run
- Download the source code ZIP using the link below and extract it.
- Copy the extracted project folder into your local server web root (
htdocsfor XAMPP orwwwfor WAMP). - Open phpMyAdmin, create a new database, and import the included
.sqlfile to build the tables. - Open the database connection/config file and update the host, username, password, and database name to match your setup.
- Start Apache and MySQL from your XAMPP/WAMP control panel.
- Visit
http://localhost/your-folder-name/in your browser to run the application.
Default Login
Login ID: admin | Username: Admin01 | Password: 12345
Who Is This For?
Built for students who need a voting or election project, developers who want a ready PHP voting base, and organizations or campuses that want to run a simple, transparent online election.
Download Online Voting System Source Code
The complete source code and database are free to download. Log in or register for a free account to unlock the download, then grab the project ZIP below.

Download Online Voting System (ZIP from GitHub)
This project is shared free for educational and learning purposes. If you use it, please keep credit to the original developer.
Related Free Source Codes
Frequently Asked Questions
What PHP version does it need?
The platform is updated to work with PHP 7.
What are the default admin credentials?
Log in with username Admin01 and password 12345, then change them before real use.
Can it handle more than one election?
Yes. The admin can create multiple organizations, each with its own positions and nominees.