How josephamuasi001/php-crud works
The repository contains two small PHP student-record applications: a CRUD example and a student-management variant. Their main workflow is listing/searching students, opening a record, and adding or editing records; the CRUD example also supports deletion. Each page issues SQL through a locally configured PDO connection, and the student-management listing uses a separate grading helper. The README is empty, and the SQL files were not sampled, so schema details and any relationship to those files are not asserted.
Main entry points: public/index.php List and search · database.php PDO connection · public/index.php List and search · view.php View student
Components 14
CRUD pages
- List and search
crud/public/index.php - Add student
crud/public/add.php - View student
crud/public/view.php - Edit student
crud/public/edit.php - Delete student
crud/public/delete.php
CRUD data access
- PDO connection
crud/config/database.php
Student pages
- List and search
student/public/index.php - Add student
student/public/add.php - View student
student/public/view.php - Edit student
student/public/edit.php - Grade score
student/src/grader.php
Student data access
- PDO connection
student/config/database.php
Other components
- User
- MySQL database
Connections 30
- User → List and search: opens
crud/public/index.php - List and search → Add student: links to
crud/public/index.php - List and search → View student: opens record
crud/public/index.php - View student → Edit student: links to
crud/public/view.php - View student → Delete student: submits delete
crud/public/view.php - List and search → PDO connection: requires
crud/public/index.php - Add student → PDO connection: requires
crud/public/add.php - View student → PDO connection: requires
crud/public/view.php - Edit student → PDO connection: requires
crud/public/edit.php - Delete student → PDO connection: requires
crud/public/delete.php - List and search → MySQL database: queries students
crud/public/index.php - Add student → MySQL database: inserts student
crud/public/add.php - View student → MySQL database: fetches student
crud/public/view.php - Edit student → MySQL database: updates student
crud/public/edit.php - Delete student → MySQL database: deletes student
crud/public/delete.php - PDO connection → MySQL database: connects to
crud/config/database.php - User → List and search: opens
student/public/index.php - List and search → Add student: links to
student/public/index.php - List and search → View student: opens record
student/public/index.php - View student → Edit student: links to
student/public/view.php - List and search → Grade score: grades scores
student/public/index.php - List and search → PDO connection: requires
student/public/index.php - Add student → PDO connection: requires
student/public/add.php - View student → PDO connection: requires
student/public/view.php - Edit student → PDO connection: requires
student/public/edit.php - List and search → MySQL database: queries students
student/public/index.php - Add student → MySQL database: inserts student
student/public/add.php - View student → MySQL database: fetches student
student/public/view.php - Edit student → MySQL database: updates student
student/public/edit.php - PDO connection → MySQL database: connects to
student/config/database.php