hernantak/php-crud-ctscan ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple PHP web app for managing CT scan records, with a clean admin style interface and basic database connection setup I can edit in one file.
I want to be able to add, view, edit, and delete CT scan entries from the browser, and also upload related image files for each record. Make it easy to browse a list of entries, open a detailed view for one item, download files if needed, and remove records or uploaded images cleanly.
Please include the MySQL connection in a separate config file like koneksi.php, and make the app work with a local XAMPP style setup. Keep the pages straightforward and usable, with simple validation so forms do not break when fields are empty. If you need to look up anything current, feel free to check the docs online.
Are you gonna build this?
make sure you review the code using coderabbit