How josephamuasi001/phpfullcourse works
This repository is a set of introductory PHP exercises, form-handling examples, and a small student-management application. The main user workflow is to browse student records, open a record, and add, view, edit, or delete it; the PHP pages directly issue database operations through a shared PDO connection. The basics examples are independent learning scripts rather than stages in that workflow. The forms examples show both inline POST handling and a separate registration form/handler. Connections reflect only shown form actions, links, redirects, and database use; unsampled behavior is not inferred.
Main entry points: index.php Student listing · database.php PDO connection · view.php View student · edit.php Edit student
Components 25
PHP basics
- Age category
01-php-basics/age-category.php - Array modification
01-php-basics/array-modification.php - Arrays
01-php-basics/arrays.php - Data types
01-php-basics/data-types.php - Functions and averages
01-php-basics/functions.php - Grade calculator
01-php-basics/grade-calculator.php - PHP introduction
01-php-basics/index.php - Operators
01-php-basics/operators.php - Profile text
01-php-basics/profile-text.php - Salary calculator
01-php-basics/salary-calculator.php - Student profile
01-php-basics/student-profile.php - Student result
01-php-basics/student-result.php - Student data
01-php-basics/student.php - Student list
01-php-basics/students.php
Registration forms
- Inline registration
03-forms/index.php - Registration form
03-forms/register.php - Registration handler
03-forms/process-register.php
Student management
- Student listing
04-mini-project/public/index.php - Add student
04-mini-project/public/add-student.php - View student
04-mini-project/public/view.php - Edit student
04-mini-project/public/edit.php - Delete student
04-mini-project/public/delete.php - PDO connection
04-mini-project/config/database.php - MySQL store
Other components
- Learner
Connections 17
- Learner → PHP introduction: runs example
- Learner → Inline registration: submits form
03-forms/index.php - Learner → Registration form: opens form
- Registration form → Registration handler: posts to
03-forms/register.php - Learner → Student listing: browses records
- Student listing → Add student: links to
04-mini-project/public/index.php - Student listing → View student: links to
04-mini-project/public/index.php - View student → Edit student: links to
04-mini-project/public/view.php - View student → Delete student: posts to
04-mini-project/public/view.php - Student listing → PDO connection: requires
04-mini-project/public/index.php - Add student → PDO connection: requires
04-mini-project/public/add-student.php - View student → PDO connection: requires
04-mini-project/public/view.php - Edit student → PDO connection: requires
04-mini-project/public/edit.php - Delete student → PDO connection: requires
04-mini-project/public/delete.php - PDO connection → MySQL store: connects to
04-mini-project/config/database.php - Edit student → Student listing: redirects to
04-mini-project/public/edit.php - Delete student → Student listing: redirects to
04-mini-project/public/delete.php