Simple evoting system using php.
Admin page is yet to complete.
As of now I didn't hash the passwords and I used the sql queries directly, you can create the prepared statments.
And tables
candidate_id (primary key auto increment)
name
vote_count
Fill these with some data as of now as these will be filled by admin which is yet to create.
id (primary key auto increment)
username (unique)
password
id (primary key autoincrement)
firstname
lastname
username
status (set default as NOTVOTED)
voted-to (set default as null)
id (primary key autoincrement)
admin_name
password
localhost/evotingsystem/index.php
You can register, login, submit a vote, view your profile and change your password.