Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 681 Bytes

File metadata and controls

25 lines (20 loc) · 681 Bytes

Simple PHP Grading App

A small PHP web app that collects a student name and 3 grades, calculates the average, and displays:

  • pass/fail result
  • performance level (Fail / Good / Very Good / Excellent)

Features

  • Form input (name + 3 grades)
  • Average calculation
  • Result message and performance category
  • Basic validation (empty fields, grade range)

Tech Stack

  • PHP

Project Structure

  • index.php — Form page
  • results.php — Processes input and shows results
  • functions.php — Helper functions (average, performance, messages)

How to Run Locally

  1. Install PHP.
  2. Open a terminal in the project folder and run:
    php -S localhost:8000