A simple student management app I built as a beginner to learn core PHP with MySQL: authentication, CRUD, file uploads, and basic page structure.
- Login/Logout (basic session auth)
- Students CRUD: add, list, edit, delete
- Image upload for student profile (stored in
uploads/) - Minimal, clean UI with plain PHP
- Copy/clone this folder into your XAMPP web root (e.g.
C:/xampp/htdocs/student_management). - Start Apache and MySQL in the XAMPP Control Panel.
- Create a database in phpMyAdmin (e.g.
student_management) and importseed.sql. - Update database credentials in
config/db.phpto match your MySQL setup. - Ensure the
uploads/folder is writable. - (Optional) Visit
http://localhost/student_management/create-admin.phpto create your first admin. - Open
http://localhost/student_management/in your browser.
auth/– login/logoutconfig/– DB connection and path settingshelpers/– helper functionsincludes/– shared header/footerstudents/– add, edit, list, deletepublic/– screenshots used in this READMEuploads/– uploaded student imagesseed.sql– starter database schema/data
Learning goals:
- Practice procedural PHP with MySQL (mysqli prepared statements)
- Handle forms, validation, sessions, and file uploads
- Organize a small PHP app with reusable includes
- This is a beginner learning project. Security/hardening and advanced patterns are intentionally minimal.
- Feel free to fork and improve things like password policies, input validation, CSRF protection, and error handling.





