asvalazy/ps ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple PHP web app for tracking unit status, with a login page, an admin area, and a page where I can view or update the status of units.
It should connect to a database, let users log in and log out, and keep normal visitors away from the admin pages. I want a clean homepage that routes people to the right place, and a separate status page that shows the current condition of each unit in a simple way.
Please make it feel like a small practical internal tool, not a fancy app. Keep the pages basic and easy to use, and make sure the database connection and session handling work properly. If you need to check anything current, look up the latest PHP best practices online.
Are you gonna build this?
make sure you review the code using coderabbit