getlost01/VotingManagmentSystem — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple college voting management website using PHP, MySQL, HTML, CSS, and JavaScript. It should run on a local Apache server and use a MySQL database that can be imported from an SQL file.

I want a public home page where users can submit their voting or feedback details, and an admin area at /admin where an admin can log in and view all submitted voting records from the database. Use default admin login details like admin@admin.com and password admin.

Please make it clean and easy to use, with basic styling, a config file for the database connection, and clear setup steps so I can create the database, import the SQL, place it in the server root, and open it on localhost. Keep it simple like a DBMS college project, not a huge production app.

Want more depth? Deep Reverse