Advanced Online Voting System in PHP MySQL Free Source Code

February 26, 2024
PHP
voting system php project free download

Table of Contents

Project: Advanced Online Voting Management System in PHP and MySQL with Source Code

An online voting system is a web-based application that allows users to cast their votes through the internet. This type of system is widely used in various fields such as politics, education, and business, as it enables efficient and convenient voting processes. In this article, we will guide you through the steps of creating an online voting system in PHP, one of the most popular programming languages for web development.

Creating an Online Voting System in PHP: A Comprehensive Guide

Advanced Voting Management System in PHP MySQL Free Download is an election system that allows voters to record a secret ballot and have it tabulated electronically. Votes are stored so they can be re-counted should the need arise.

Voting Management System can speed up election results and lower the cost of conducting an election by significantly reducing the number of people required to operate a polling place and tabulate results. A primary concern with e-voting, however, is how to store votes so they can be recounted if required.

What is an Online Voting System in PHP?

An online voting system in PHP is a software application that enables users to cast their votes through the internet. It provides an efficient and convenient way of voting, allowing users to participate from anywhere and at any time. Online voting systems are widely used in various fields, such as political elections, school and university elections, business and corporate decision-making, and surveys.

Features of  Advanced Online Voting  System in PHP and MySQL

Our advanced online voting system comes with a range of features to ensure a smooth voting experience:

  • Vote Preview: Users can preview their votes before submission.
  • Multiple Votes: Support for multiple voting options.
  • Result Tally via Horizontal Barchart: Visual representation of voting results.
  • Print Voting Result in PDF: Option to print voting results for documentation.
  • Changeable Order of Positions: Flexibility in displaying positions on the ballot.
  • CRUD Operations for Voters, Candidates, and Positions: Easy management of voter, candidate, and position data.

How to Create a Voting System in PHP?

To create a voting system in PHP, you need to have a good understanding of the language’s fundamentals and web development concepts. Here are the basic steps involved in creating a voting system:

  • Define the requirements. Define the purpose of your voting system, the type of voting method you want to use, and the security measures you need to implement.
    • The first step in creating an online voting system is designing the database schema. The database schema should include tables for storing information about voters, candidates, and the voting process. Here are some of the key tables that you should include in your database:
    • Users: This table should store information about voters, such as their name, email address, and login credentials.
    • Candidates: This table should store information about the candidates running for office, such as their name, party affiliation, and photo.
    • Votes: This table should store information about the votes cast by users, including the user ID, candidate ID, and the date and time of the vote.
  • Design the database. Design the database schema and create the necessary tables to store user information, voting data, and other relevant information.
  • Develop the front-end. Create a user-friendly interface for your voting system, including the ballot and voting options.
    • The next step is to develop the user interface for your online voting system. The user interface should be user-friendly and easy to navigate, allowing voters to easily find information about the candidates and cast their vote. Here are some of the key features that you should include in your user interface:
    • Candidate profiles: Each candidate should have a profile page that includes information about their background, platform, and stance on key issues.
    • Voting page: The voting page should allow users to cast their vote for their preferred candidate.
    • Results page: The results page should display the current vote count for each candidate and update in real-time as votes are cast.
  • Develop the back-end. Develop the back-end of your voting system using PHP, including the logic for vote counting, result calculation, and data validation.
  • Test and deploy. Test your voting system thoroughly and deploy it on a web server.

Which Database is Best for Voting System?

The choice of database for a voting system depends on several factors such as the size of the system, the number of users, and the complexity of the data. However, some of the most popular databases for voting systems are MySQL, PostgreSQL, and Oracle.

MySQL is a popular open-source database that is widely used in web applications. It is easy to use, scalable, and provides good performance. PostgreSQL is a powerful open-source database that provides advanced features such as transaction support, table partitioning, and data replication. Oracle is a commercial database that provides high-performance, scalability, and reliability for large-scale voting systems.

What is the Most Common Voting System?

The most common voting system used in political elections is the plurality voting system, also known as the first-past-the-post system. In this system, the candidate with the most votes wins the election. However, there are several other voting systems used in different contexts such as ranked choice voting, approval voting, and proportional representation.

How to Implement Polling in PHP?

To implement polling in PHP, you need to develop a back-end script that collects the poll data from the users, stores it in a database, and calculates the poll results. Here are the basic steps involved in implementing polling in PHP:

  1. Create the poll form: Create a form that displays the poll question and the options to the user.
  2. Process the poll data: Process the poll data submitted by the user and store it in a database.
  3. Calculate the poll results: Calculate the poll results based on the data stored in the database and display the results to the user.

How to Create an Authentication System in PHP?

To create an authentication system in PHP, you need to develop a back-end script that authenticates the user’s credentials and provides access to the voting system. Here are the basic steps involved in creating an authentication system in PHP:

  1. Design the database. Design the database schema and create the necessary tables to store user information, login credentials, and other relevant information.
  2. Develop the login form. Develop a user-friendly login form that prompts the user to enter their login credentials.
  3. Validate the login credentials. Validate the user’s login credentials against the information stored in the database.
  4. Set up user sessions. Set up user sessions to maintain the user’s login state and provide access to the voting system.

What is the Main Objective of E-Voting System?

The main objective of an e-voting system is to provide an efficient and convenient way of voting, allowing users to participate from anywhere and at any time. E-voting systems also aim to improve the accuracy and integrity of the voting process by reducing errors, minimizing fraud, and increasing transparency. Additionally, e-voting systems can reduce the cost and time involved in traditional voting methods.

Developing Your Online Voting System

Creating the Login and Authentication System

Start by implementing a robust login and authentication system to secure access to the voting platform. Validate user credentials, manage sessions, and incorporate encryption for enhanced security.

Election/Contest Creation Module

Design a module to create and manage elections or contests. Allow administrators to define election parameters such as title, description, candidates, and voting duration.

Voting Module

Develop the core voting functionality, enabling users to cast their votes online. Present voters with clear options, validate votes, and ensure data integrity throughout the process.

Vote Counting Module

Implement a module to tally votes and calculate results accurately. Apply appropriate algorithms to handle different voting methods and generate comprehensive reports.

Results Display Module

Create a module to showcase election results to users in an understandable format. Utilize tables, graphs, or charts to visualize data and provide insights into voting outcomes.

Testing, Deployment, and Maintenance

Testing Your System

Thoroughly test your voting system to identify and rectify any bugs or vulnerabilities. Conduct usability testing with real users to gather feedback for improvement.

Deployment

Deploy your system on a reliable web hosting service, ensuring compatibility with PHP, MySQL, and other required technologies. Secure data transmission with SSL encryption for user privacy.

Maintenance

Regularly update your system to incorporate new features and address security concerns. Monitor system performance, fix bugs promptly, and provide ongoing support to users.

Advanced Online Voting System in PHP and MySQL Project

  • Name of Project:    Advanced Online Voting System in PHP Project
  • Language:                 PHP
  • Databases used:     MySQL
  • Design used:            HTML JavaScript, Ajax, JQuery, Bootstrap
  • Browser used:          IE8, Google Chrome, Opera Mozilla
  • Software used:         WAMP/ XAMPP/ LAMP/MAMP

Screenshots

Advanced Voting Management System Project

online voting system project in php free download

Planning and Designing Your Online Voting System

In this section, we’ll discuss the planning and designing stage of your online voting system. This includes determining the features and functionality of your system and designing its user interface.

Determining the Features and Functionality of Your System

Before you start coding your online voting system, you must first plan and conceptualize its features and functionality. Below are some questions to help you get started:

  • What types of elections or contests can be created?
  • What are the specifications and requirements of each election or contest?
  • How many candidates or entries are allowed?
  • What types of voting systems are supported?
  • How can voters cast and modify their votes online?
  • What types of reports and analytics are needed?
  • How will the system handle errors, invalid votes, and fraud attempts?

Answering these questions can help you create a clear and concise plan for your online voting system.

Designing the User Interface of Your System

After you determine the features and functionality of your online voting system, the next step is to design its user interface. The user interface is the visual and functional representation of your system, and it’s crucial to make it user-friendly and accessible.

Here are some tips to consider when designing your system’s user interface:

  1. Keep it simple and easy to navigate
  2. Use clear and concise labels and instructions
  3. Make it responsive and accessible through different devices and platforms
  4. Use contrasting colors and visual hierarchies to highlight important elements
  5. Test it with real users to get feedback and improve its usability

Developing Your Online Voting System

In this section, we’ll discuss the core functionality of your online voting system. This includes creating the login and authentication system, election/contest creation module, voting module, vote counting module, and results display module.

Creating the Login and Authentication System

The login and authentication system is responsible for verifying the identity of the user and granting them access to specific features or resources. Here are the steps to create one in PHP:

  1. Create a login form that can accept the username and password of the user.
  2. Validate the user’s credentials by checking them against the database records.
  3. Store the user’s login session and permission levels in a session variable.
  4. Implement a logout feature that can terminate the user’s login session.
  5. Secure the login and authentication system by using encryption, password hashing, and other security measures.

Creating the Election/Contest Creation Module

The election/contest creation module is responsible for creating and managing elections or contests. Here are the steps to create one in PHP:

  1. Create a form that can collect the necessary information for creating an election/contest, such as the title, description, start and end dates, and candidates or entries.
  2. Validate the information and store it in the database.
  3. Display the list of existing elections/contests and allow the user to edit or delete them.
  4. H4: Creating the Voting Module
  5. The voting module is responsible for allowing voters to cast and modify their votes online. Here are the steps to create one in PHP:
  6. Create a form that can display the election/contest details and the candidates or entries.
  7. Allow the user to select one or more candidates or entries and submit their vote.
  8. Validate the vote and store it in the database.
  9. Allow the user to modify their vote before the deadline.

Creating the Vote Counting Module

The vote counting module is responsible for tallying the votes and computing the results. Here are the steps to create one in PHP:

  1. Retrieve the votes from the database and organize them according to the voting system used.
  2. Apply the vote counting algorithm and compute the results.
  3. Store the results in the database and display them to the users.

Creating the Results Display Module

The results display module is responsible for showing the election/contest results to the users. Here are the steps to create one in PHP:

  1. Retrieve the results from the database and display them in a table or graph.
  2. Allow the user to filter and sort the results according to different criteria.
  3. Provide a summary and analysis of the results using charts or other visual aids.

Testing, Deployment, and Maintenance of Your Online Voting System

In this section, we’ll discuss the testing, deployment, and maintenance of your online voting system. This includes testing it for bugs, errors, and vulnerabilities, deploying it on the web, and maintaining it for updates and improvements.

Testing Your Online Voting System in PHP and MySQL

Testing your online voting system is crucial to ensure its security, functionality, and usability. Here are some tips to consider when testing your system:

  • Use automated testing tools to check for bugs and vulnerabilities.
  • Test your system on different devices, platforms, and browsers.
  • Involve real users to test the system’s usability and user experience.
  • Assess the system’s security using penetration testing and vulnerability scanning.

Deploying Your Online Voting System in PHP MySQL

Deploying your online voting system on the web requires the following steps:

  1. Choose a reliable web hosting service that can support PHP, MySQL, and other web technologies.
  2. Register a domain name that suits your online voting system and is easy to remember.
  3. Obtain an SSL certificate to secure your system’s data transmission and communication.
  4. Configure your server’s settings and database to ensure optimal performance and security.

Online Voting System Flowchart

This flowchart provides a detailed depiction of the entire process flow within the online voting system, starting from user authentication to the creation of elections, casting votes, accessing results, and finally logging out. Each step is clearly defined, indicating the flow of actions and decisions within the system.

Online Voting System Flowchart

Online Voting System Flowchart

Online Voting System ER Diagram

Entities:

  1. User:
    • Attributes:
      • id: Primary Key (PK) representing the unique identifier for each user.
      • username: VARCHAR field storing the username of the user.
      • password: VARCHAR field storing the password of the user.
      • role: VARCHAR field representing the role of the user (e.g., ‘admin’ or ‘voter’).
  2. Election:
    • Attributes:
      • id: Primary Key (PK) representing the unique identifier for each election.
      • title: VARCHAR field storing the title of the election.
      • description: TEXT field storing the description of the election.
      • start_date: DATETIME field indicating the start date and time of the election.
      • end_date: DATETIME field indicating the end date and time of the election.
  3. Candidate:
    • Attributes:
      • id: Primary Key (PK) representing the unique identifier for each candidate.
      • name: VARCHAR field storing the name of the candidate.
      • party_affiliation: VARCHAR field storing the party affiliation of the candidate.
      • photo_url: VARCHAR field storing the URL of the candidate’s photo.
      • election_id: Foreign Key (FK) referencing the election to which the candidate belongs.
  4. Vote:
    • Attributes:
      • id: Primary Key (PK) representing the unique identifier for each vote.
      • voter_id: Foreign Key (FK) referencing the user who cast the vote.
      • candidate_id: Foreign Key (FK) referencing the candidate for whom the vote is cast.
      • date_time: DATETIME field indicating the date and time when the vote was cast.

Relationships:

  1. User-Vote:
    • One-to-Many relationship indicating that a user can submit multiple votes.
    • Relationship Label: “Submits”
  2. User-Election:
    • One-to-Many relationship indicating that a user can manage multiple elections.
    • Relationship Label: “Manages”
  3. Election-Candidate:
    • One-to-Many relationship indicating that an election can have multiple candidates competing.
    • Relationship Label: “Competes In”
  4. Vote-User:
    • One-to-Many relationship indicating that a vote is cast by a single user.
    • Relationship Label: “Cast By”
  5. Vote-Candidate:
    • One-to-Many relationship indicating that a vote is cast for a single candidate.
    • Relationship Label: “Cast For”
Online Voting System ER Diagram

Online Voting System ER Diagram

This ER diagram outlines the structure of the online voting system database, including the entities, their attributes, and the relationships between them.

Maintaining Your Online Voting System in PHP

Maintaining your online voting system involves keeping it up-to-date, fixing bugs and errors, and improving its features and functionality. Here are some tips to consider:

  • Regularly update your system to the latest version of PHP, MySQL, and other web technologies.
  • Fix bugs and errors promptly to ensure optimal performance and security.
  • Implement user feedback and suggestions to improve your system’s usability and user experience.
  • Conduct security audits and risk assessments to identify potential threats and vulnerabilities.

How To Run this Online Voting System in PHP and MySQL?

Above all, to run this project you must have installed a virtual server i.e XAMPP on your PC. Advanced Online Voting System in PHP and MySQL with source code is free to download, Use for educational purposes only!

Follow the following steps after Starting Apache and MySQL in XAMPP:

1st Step: Firstly, Extract the file
2nd Step: After that, Copy the main project folder
3rd Step: So, you need to Paste in xampp/htdocs/

Further, Now Connecting Database

4th Step: So, for now, Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: After that, Click on the databases tab
6th Step: So, Create a database naming “votingsystem” and then click on the import tab
7th Step: Certainly, Click on browse file and select “votingsystem.sql” file which is inside the “db” folder
8th Step: Meanwhile, click on Go button.

After Creating Database,

9th Step: Moreover, Open a browser and go to URL “http://localhost/votingsystem”

**LOGIN DETAILS**

Admin
user: nurhodelta
pass: password

DEMO

Conclusion

Creating an online voting system in PHP and MySQL offers numerous benefits for organizations and institutions seeking to streamline their election processes. By following this comprehensive guide, you can develop a secure, accessible, and efficient voting platform tailored to your specific requirements. Empower your stakeholders with the ability to participate in elections conveniently and securely—start building your online voting system today!


Related Projects: Online Voting System using PHP MySQL, Online School Event Management System in PHP/MSQLi

Free Download Advanced Online Voting System in PHP MySQL Source Code

Download Here

Creating an online voting system in PHP requires technical skills, planning, and dedication. But with the right tools and knowledge, you can develop a secure, accessible, and reliable system that’s suitable for different types of elections and contests. Whether you’re a government agency, an organization, or a business, an online voting system can help you streamline your election processes and increase voter turnout. So, get started with PHP and create your online voting system today!

Comments
  • non funziona la stampa come si risolve grazie

    Claudio Barone May 24, 2024 4:47 pm Reply
  • Para imprimir la relacion de resultados de votacion (panel )

    me sale error:
    Error grave : la sintaxis de acceso de desplazamiento de cadenas y matrices con llaves ya no es compatible con C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php en la línea 16893

    Cesar May 20, 2024 2:43 am Reply
  • can you send correct .php file to replace the project to correct the printing error? Thank you

    Claudio Barone May 13, 2024 4:32 am Reply
  • can you send correct .php file to replace the project? Thank you

    Claudio Barone May 13, 2024 4:32 am Reply
  • I can’t use the print function. I followed what you said in some previous comments, but nothing

    Claudio Barone May 13, 2024 4:29 am Reply
  • how do i log out the admin page

    alen April 10, 2024 7:39 pm Reply
    • please help me login

      Anonymous April 21, 2024 3:50 am Reply
      • You can change the username in the db to admin then save, then go back to the system and refresh and you can log in already

        Anonymous April 29, 2024 6:45 pm Reply
  • the voter ID and password is not working

    jow March 25, 2024 4:42 am Reply
  • I want to ask how to log out from admin..
    And how log in the new user

    Anonymous March 10, 2024 4:00 pm Reply
    • The log inform is not working

      nurhodelta
      password

      its not working… can you assist pliz, i have done all the steps

      Garaba March 25, 2024 5:58 pm Reply
      • its not work nurdelta and password please

        habibo abdi June 8, 2024 8:37 pm Reply
  • What is the scope of online voting system project?
    And it’s future scope..?

    Anonymous March 8, 2024 5:36 pm Reply
  • Warning: mysqli::__construct(): The server requested authentication method unknown to the client [auth_gssapi_client] in C:\xampp7.3\htdocs\voting\includes\conn.php on line 2

    Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in C:\xampp7.3\htdocs\voting\includes\conn.php on line 2
    Connection failed: The server requested authentication method unknown to the client

    why this error?

    jo February 21, 2024 12:04 pm Reply
    • Create a database with the name “votesystem” and import the SQL file votesystem.sql to it

      Hamzzy February 29, 2024 12:01 am Reply
  • Hello Admin,

    How can I contribute to this project here? I have added a few features, like bulk deletion of voters and bulk upload of voters via CSV file.

    Kojo Shaddy February 9, 2024 6:19 am Reply
  • Sir can I get the report of this project pls

    Dhiraj deka December 30, 2023 11:01 pm Reply
    • Sir I need ppt

      Ragul February 28, 2024 6:01 pm Reply
    • General constraints and assumptions of online voting system project in php

      Sana March 17, 2024 10:19 pm Reply
  • Dear Admin,

    Say you have a website A and some user B who is registered to use the site. If you send this user email updates whenever the site is updated, is there a way to make the user login to the site. Say for example, the link that you send him in the email, he needs to be logged in to view it, so is there any way that we can automatically log this user in when he visits the link, rather than him having to enter his username and password again. Obviously, sending the username and password in the URL is not safe, so was looking for other ideas. Any help is much appreciated.

    Ringle Lam December 21, 2023 12:26 pm Reply
  • what the admin username and password.

    Admin
    user: Nurhodelta
    pass: password

    cannot working

    adieyz August 14, 2023 9:42 pm Reply
    • N should be small

      Anonymous February 26, 2024 9:08 pm Reply
      • but it’s not working.

        PAVISH A R March 10, 2024 2:43 pm Reply
  • HEllo Sir, Nice project but You should have set Validations for a single voter not voting for more than one contestant contesting for the same position. In your project one voter can vote for more than one contestant contesting for the same position

    Wonder August 1, 2023 4:03 am Reply
  • adddddmmmmmiiinnnnnnn how can i fix the print

    Anonymous July 27, 2023 9:02 am Reply
  • hello sir. why is it that the login details for the admin don’t work on my side?. i tried all methods but i can’t get access

    NUWAHEREZA WYCLIFE June 27, 2023 12:04 pm Reply
  • Hello, how am I supposed to submit my vote> can anyone help?

    Anonymous May 31, 2023 8:13 pm Reply
  • why does it say 404 not found if i put localhost/votesystem/i foolow the instruction

    zzz May 11, 2023 12:25 pm Reply
  • Can i get documentation of this project. I will pay for this

    Gaurav Ghagare April 13, 2023 1:04 am Reply
    • We will release it soon

      admin April 14, 2023 10:27 pm Reply
      • Pls what version of PHP was used in this project

        Daniel Julius May 6, 2023 11:26 am Reply
  • Warning: mysqli::__construct(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: NO) in C:\kd\htdocs\votesystem\includes\conn.php on line 6
    Connection failed: Access denied for user ‘root’@’localhost’ (using password: NO)
    I am getting this error…could you help pls?

    mahak November 9, 2022 3:40 am Reply
    • documentation is also not available

      Anonymous November 9, 2022 3:51 am Reply
      • im also with this problem how can i make it working im so excited to try it. should we debug those codes or do something else?

        Richard Bacani May 29, 2023 9:41 pm Reply
  • How to solve such error?
    Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php:16542 Stack trace: #0 C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php(17200): TCPDF->getHtmlDomArray(‘writeHTML(‘\r\n \t<h2 al…') #2 {main} thrown in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16542

    Kayyo November 2, 2022 6:53 pm Reply
  • Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php:16542 Stack trace: #0 C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php(17200): TCPDF->getHtmlDomArray(‘writeHTML(‘\r\n \t<h2 al…') #2 {main} thrown in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16542

    Kayyo November 2, 2022 6:51 pm Reply
  • can i get login details; username and password

    THABO NTSIKI June 13, 2022 9:40 pm Reply
    • bro same thing …… how should we overcome….from this credentials

      Anonymous July 5, 2022 11:50 pm Reply
  • hi bro print cannot work fetal error please help

    Anonymous May 12, 2022 5:14 pm Reply
  • can u give th calss daigram of it ? or tell me which class do you use in this project

    Aman mehra May 7, 2022 3:39 pm Reply
  • good system to implement

    salim February 15, 2022 9:19 pm Reply
  • help cannot print, Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php:16542 Stack trace: #0 C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php(17199): TCPDF->getHtmlDomArray(‘writeHTML(‘\r\n \t<h2 al…') #2 {main} thrown in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16542

    plz some help me! ….

    kaefrare February 15, 2022 12:47 pm Reply
  • Display when i click print is Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php:16542 Stack trace: #0 C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php(17199): TCPDF->getHtmlDomArray(‘writeHTML(‘\r\n \t<h2 al…') #2 {main} thrown in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16542

    kaefrare February 15, 2022 9:16 am Reply
  • Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php:16542 Stack trace: #0 C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php(17199): TCPDF->getHtmlDomArray(‘writeHTML(‘\r\n \t<h2 al…') #2 {main} thrown in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16542

    kaefrare February 15, 2022 9:01 am Reply
    • What answer did u get for ur question please?

      Tewelde October 21, 2023 5:14 pm Reply
  • i am getting a fatal error.

    Fatal error: Uncaught mysqli_sql_exception: Unknown database ‘votesystem’ in A:\xampp\htdocs\votesystem\admin\includes\conn.php:2 Stack trace: #0 A:\xampp\htdocs\votesystem\admin\includes\conn.php(2): mysqli->__construct(‘localhost’, ‘root’, ”, ‘votesystem’) #1 A:\xampp\htdocs\votesystem\admin\login.php(3): include(‘A:\\xampp\\htdocs…’) #2 {main} thrown in A:\xampp\htdocs\votesystem\admin\includes\conn.php on line 2

    sumanth January 29, 2022 1:28 pm Reply
  • Please the “submit vote query” sometimes submits more than 1 vote for a particular voter. As more as 8 times for all candidates making the number of votes for a candidate more than total registered voters

    Emmanuel Nyarko December 22, 2021 8:09 am Reply
    • Can you give me a voter credential.. Cos I try to login as a voter and it’s not working tho I;ve created a voter

      Anonymous August 12, 2023 10:23 pm Reply
  • Hello Sir,
    Is there a reason why you did not create a registration page for voters first?

    Anonymous October 12, 2021 5:24 am Reply
  • Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16893

    Assist in fixing this

    Jason October 4, 2021 3:43 pm Reply
    • try replacing this {} with [] if it does not work for you check your xampp vision and it should be XAMPP 7.3 and not the latest one

      Cornelius Munsanje November 20, 2021 10:51 pm Reply
    • How to fix this Sir.

      Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16893

      Anonymous August 29, 2022 6:06 pm Reply
  • Hi, when i log in it keeps telling me warning: mysqli::_construct(): (HY000/1049): Unknown database ‘votesystem’ in C:\xampp\htdocs\votesystem\includes\conn.php on line 2
    What should i do?

    Metho GM October 3, 2021 2:23 am Reply
    • same bro

      koro November 30, 2021 2:56 pm Reply
  • Hello
    i dont know how to thank you for greet work
    i have one q?

    can we add voters as bulk note one by one

    thanks for your help

    aziz September 28, 2021 4:32 am Reply
  • Display when i click print is Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16893

    Roger September 20, 2021 11:16 am Reply
  • Hi Admin, I tried to print the votes tally and I got the following errors:

    Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 17778

    I tried fixing it to either “break” or “continue 2”, it works then the next error, I can’t figure it out because line 1671 says “return chr($c);” and I echo $c it shows a very long combination of numbers. Line 1669 says $c <= 0x7F (// one byte).

    Warning: chr() expects parameter 1 to be int, string given in C:\xampp\htdocs\votesystem\tcpdf\include\tcpdf_fonts.php on line 1671
    TCPDF ERROR: Some data has already been output, can't send PDF file

    Hope to hear from you soon. Thank you for the scripts and layout, very nice and highly appreciated.

    Kamisulat August 23, 2021 8:14 pm Reply
    • Hi everyone, I got the fix just tonight.

      #1. In C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 17778, simply modify continue; to continue 2;

      #2. In C:\xampp\htdocs\votesystem\tcpdf\include\tcpdf_fonts.php on line 1671, just insert a new line after 16666, and type: $c = intval($c);

      I could now be able to preview the report in PDF format.

      Thank you admin for this very opportunity.

      Kamisulat August 23, 2021 11:06 pm Reply
      • Sorry, the line to insert is 1666 not 16666 as stated in my previous comment.

        Kamisulat August 24, 2021 12:44 am Reply
        • Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16893

          Jason October 4, 2021 3:38 pm Reply
      • Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\votesystem\tcpdf\tcpdf.php on line 16893

        Assist with this please @Admin

        Jason October 4, 2021 3:41 pm Reply
      • How can i import excel names direct to voters with voters id

        Scifistiny March 3, 2023 12:07 am Reply
  • please admin help me with the login details cuz I try login using user: Nurhodelta
    pass: password and its not working for me

    Austine June 25, 2021 4:51 pm Reply
    • please can you help me with the password for the the votesystem because when i type in username Nurhodelta
      password password is not working

      FELIX TWUMASI ANKRAH August 18, 2021 11:33 am Reply
    • This is the url for admin panel where you can login http://localhost/votesystem/admin/

      user: nurhodelta (small letter n)
      pass: password

      Kamisulat August 23, 2021 7:12 pm Reply
      • Assistance and help
        Inbox
        +1 806 414 0168

        Duchess December 26, 2021 3:11 pm Reply
  • Hello Sir, the download button isn’t displaying anything

    Anthony June 8, 2021 7:19 pm Reply
    • Hello. I just already fixed the bug. You can now download again. Thank you.

      admin June 8, 2021 8:45 pm Reply
      • Paano po ang flow chart nito?

        Aviona June 18, 2021 7:12 pm Reply
      • Please i can’t login to online vote project i need help

        Kyeremeh Emmanuel August 7, 2021 11:39 am Reply
        • This is the url for admin panel where you can login http://localhost/votesystem/admin/

          user: nurhodelta (small letter n)
          pass: password

          Anonymous September 20, 2021 5:44 pm Reply
          • THE PASSWORD IS NOT RIGHT

            Anonymous October 24, 2021 11:07 pm
  • hello, I can’t download the file

    Sparrow June 8, 2021 7:15 pm Reply
    • Hello. I just already fixed the bug. You can now download again. Thank you.

      admin June 8, 2021 8:45 pm Reply
      • hello admin, i am trying to log in pero hindi talaga gumana yung username at tsaka password.
        username: nurhodelta
        password: password
        ….ayaw gumana admin…paano po ito…

        Andy October 26, 2021 7:37 pm Reply
  • hello, can i get a documentation for the voting management system.

    Daniel Asomaning June 6, 2021 2:13 am Reply
    • I will create soon. Thank you for your interest.

      admin June 6, 2021 6:05 pm Reply
    • Can i get documentation of this project. I will pay for this

      Gaurav Ghagare April 13, 2023 1:03 am Reply
  • hello sir is report available sir

    rithik May 31, 2021 6:19 pm Reply
    • Yes, you can click on the Documentations tab.

      admin May 31, 2021 10:30 pm Reply
      • i have already searched in the documentations tab where i could not find it

        rithik June 12, 2021 2:08 pm Reply
        • I will upload soon. Thank you.

          admin June 12, 2021 2:27 pm Reply
    • I tried to login with the same password you have given above but it doesn’t working how do i make it work

      Abin September 14, 2021 10:15 pm Reply
  • hiii i want report about this project

    man April 21, 2021 5:57 pm Reply
    • i will be creating soon

      admin April 23, 2021 3:42 pm Reply
      • can i get the documentation of this voting system project plz

        Musaveer Khan August 14, 2021 4:31 pm Reply
        • Yes, we will upload soon.

          admin August 15, 2021 9:40 pm Reply
          • the system can accept my username but it shows incorrect password and i have already changed the password in the database table. why cant i still login

            Baisama June 30, 2024 3:54 am
  • Hi
    I am not able to login using the given username and password
    Please help ASAP

    Nikita Sawant March 13, 2021 11:15 pm Reply
    • the given username and password is for admin panel. the link is localhost/votesystem/admin note that the “votesystem” in the link is the name of the file you downloaded. i rename the file to shorten the link

      yusri August 16, 2021 2:56 pm Reply
    • test

      yusri August 16, 2021 2:56 pm Reply
    • the given username and password is for admin panel. the link is localhost/votesystem/admin note that “votesystem” in the link is the name of the file you downloaded and unzipped. i rename the file to “votesystem” to shorten the link. replace the “votesystem” in the link according to your file name

      yusri August 16, 2021 2:58 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *