Voting System using PHP with Source Code
This is a Voting System Project in PHP. The system was created using PHP, HTML, CSS, MySQL Database, and Bootstrap for the design. The system is responsive which means you can manage the system using your mobile phone, laptop, tablet, or desktop computer. This system has 2 types of users which are the Admin and the voters. The Admin user is in charge of managing the list of candidates, organization, voters, and has access to the vote result. The Voters are the student who can vote in any organization and submit their votes. The system is user-friendly and nice user-interface using Bootstrap.
Features
Admin
- Manage the List of Organization
- Manage the List of Position
- Manage the List of Nominees
- Manage the List of Voters
- View Results per Organization
- Print Results per Organization
Voters
- Vote
How to Run
Requirements
- Download and Install any local web server such as XAMPP/WAMP.
- Download the provided source code zip file. (download button is located below)
Installation/Setup
- Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
- Extract the downloaded source code file.
- If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
- Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
- Create a new database naming "voting".
- Import the provided SQL file. The file is known as "voting.sql" located inside the extracted source code folder.
- Browse the Voting System in a browser. i.e. and http://localhost/voting_system/sandbox for the admin side.
Admin Credentials
Username: admin
Password: admin
You can find the tutorial on how to use the system below:
I hope this Voting System Project Source Code in PHP will help you with what you are looking for and for your future project. Feel free to test and modify the system the way you wanted.
Thanks
Have fun coding :)
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Comments
Import Database, Check Database Connection
Check also the connection to the database located in config/db.php. Change the host name, host user, host password depending on your wamp or xampp configuration.
Hope this will help you. Have fun coding.
Import Database, Check Database Connection
2. Check database connection located in config/db.php. Change host name, host user and host password depending on your wamp or xampp configuration. Hope this helps. Have fun coding.
not working the admin log in
Import Database
Admin log in not working
request
i cannot login to the administrator
Vote multiple nominees
admin user name and password incorrect
Hello good morning! I first import the database voting to phpmyadmin using xampp.
and also check database connection located in config/db.php. change host name, host user and host password. but it doesn't work. please assit me. thank you
Error
Deployment
Add new comment
- Add new comment
- 5471 views