Streaming Server / Month

1000

10 Viewers*

Unlimited bandwidth

Streaming Server / Year

10,000

10 Viewers*

Unlimited bandwidth

School Management System Project With Source Code In Php ✓

$query = "SELECT * FROM users WHERE username='$username'"; $result = mysqli_query($conn, $query);

if ($_SERVER['REQUEST_METHOD'] == 'POST') { foreach ($_POST['attendance'] as $student_id => $status) { $check = mysqli_query($conn, "SELECT id FROM attendance WHERE student_id=$student_id AND date='$date'"); if (mysqli_num_rows($check) > 0) { mysqli_query($conn, "UPDATE attendance SET status='$status' WHERE student_id=$student_id AND date='$date'"); } else { mysqli_query($conn, "INSERT INTO attendance (student_id, class_id, date, status) VALUES ($student_id, $class_id, '$date', '$status')"); } } $success = "Attendance saved!"; } school management system project with source code in php

1. Introduction A School Management System automates daily administrative tasks like student registration, attendance tracking, grade management, fee collection, and teacher assignment. $query = "SELECT * FROM users WHERE username='$username'";

// Fetch marks $marks = mysqli_query($conn, "SELECT m.exam_type, s.subject_name, m.marks_obtained, m.max_marks FROM marks m JOIN subjects s ON m.subject_id = s.id WHERE m.student_id=$student_id"); ?> <h1>Welcome, <?= $student['first_name'] ?></h1> <h3>Recent Attendance</h3> <ul> <?php while($row = mysqli_fetch_assoc($attendance)): ?> <li><?= $row['date'] ?> - <?= $row['status'] ?></li> <?php endwhile; ?> </ul> mysqli_connect_error()); }

if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } ?> <?php session_start(); if (!isset($_SESSION['user_id'])) { header("Location: ../login.php"); exit(); } ?> 5.3 Login Script ( login.php ) <?php session_start(); require_once 'config/db_connection.php'; if ($_SERVER['REQUEST_METHOD'] == 'POST') { $username = mysqli_real_escape_string($conn, $_POST['username']); $password = $_POST['password'];

CREATE DATABASE school_management; USE school_management; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY KEY, username VARCHAR(50) UNIQUE NOT NULL, password VARCHAR(255) NOT NULL, role ENUM('admin', 'teacher', 'student', 'parent') NOT NULL, related_id INT NOT NULL, -- student_id or teacher_id created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); Table: students CREATE TABLE students ( id INT AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(50) NOT NULL, last_name VARCHAR(50) NOT NULL, roll_no VARCHAR(20) UNIQUE, class_id INT, section VARCHAR(10), parent_mobile VARCHAR(15), address TEXT, dob DATE, admission_date DATE ); Table: teachers CREATE TABLE teachers ( id INT AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(50) NOT NULL, last_name VARCHAR(50) NOT NULL, email VARCHAR(100) UNIQUE, mobile VARCHAR(15), qualification VARCHAR(100), address TEXT ); Table: classes CREATE TABLE classes ( id INT AUTO_INCREMENT PRIMARY KEY, class_name VARCHAR(20) NOT NULL, -- e.g., 1, 2, 3, etc. numeric_name INT ); Table: subjects CREATE TABLE subjects ( id INT AUTO_INCREMENT PRIMARY KEY, subject_name VARCHAR(50) NOT NULL, class_id INT, teacher_id INT, FOREIGN KEY (class_id) REFERENCES classes(id) ON DELETE CASCADE, FOREIGN KEY (teacher_id) REFERENCES teachers(id) ON DELETE SET NULL ); Table: attendance CREATE TABLE attendance ( id INT AUTO_INCREMENT PRIMARY KEY, student_id INT, class_id INT, date DATE, status ENUM('present', 'absent', 'late') DEFAULT 'absent', FOREIGN KEY (student_id) REFERENCES students(id) ON DELETE CASCADE, FOREIGN KEY (class_id) REFERENCES classes(id) ); Table: marks CREATE TABLE marks ( id INT AUTO_INCREMENT PRIMARY KEY, student_id INT, subject_id INT, exam_type ENUM('FA1', 'FA2', 'SA1', 'SA2') NOT NULL, marks_obtained INT, max_marks INT DEFAULT 100, FOREIGN KEY (student_id) REFERENCES students(id), FOREIGN KEY (subject_id) REFERENCES subjects(id) ); Table: fees CREATE TABLE fees ( id INT AUTO_INCREMENT PRIMARY KEY, student_id INT, amount_due DECIMAL(10,2), amount_paid DECIMAL(10,2), due_date DATE, payment_date DATE, status ENUM('paid', 'pending', 'partial'), FOREIGN KEY (student_id) REFERENCES students(id) ); 4. Project Structure school-management/ │ ├── config/ │ └── db_connection.php ├── includes/ │ ├── header.php │ ├── footer.php │ └── auth.php ├── assets/ │ ├── css/ │ ├── js/ │ └── images/ ├── admin/ │ ├── dashboard.php │ ├── manage_students.php │ ├── manage_teachers.php │ ├── manage_classes.php │ ├── manage_subjects.php │ └── fee_report.php ├── teacher/ │ ├── dashboard.php │ ├── attendance.php │ ├── marks_entry.php │ └── my_classes.php ├── student/ │ └── dashboard.php ├── login.php ├── logout.php └── index.php 5. Core Source Code 5.1 Database Connection ( config/db_connection.php ) <?php $host = 'localhost'; $user = 'root'; $password = ''; $database = 'school_management'; $conn = mysqli_connect($host, $user, $password, $database);

<table> <?php while($s = mysqli_fetch_assoc($students)): ?> <tr> <td><?= $s['first_name'] . " " . $s['last_name'] ?></td> <td> <select name="attendance[<?= $s['id'] ?>]"> <option value="present">Present</option> <option value="absent">Absent</option> <option value="late">Late</option> </select> </td> </tr> <?php endwhile; ?> </table> <button type="submit">Save Attendance</button> </form> <?php require_once '../config/db_connection.php'; require_once '../includes/auth.php'; $student_id = $_SESSION['related_id'];


System Requirements

Hardware 1 Channel Playout 2 Channel Playout 4-8 Channel Playout
OS Windows 10 / 11 Windows 10 / 11 @Windows 10 / 11
Processor Intel Core i5 Intel Core i7 Intel Core i9
Ram 16 GB 32 GB 32 / 64 GB
Hard Disk Solid-state drive Solid-state drive Solid-state drive
Power Supply CoolerMaster 750 Watt CoolerMaster 1000 Watt CoolerMaster 1000 / 1500 Watt
Nvidia Graphic Card GeForce GTX 1050 Ti Quadro K2200 Quadro K2200
GeForce GTX 1060 Quadro M3000 / M4000 / M5500 Quadro P4000 / P5000 / 6000
GeForce GTX 1080 Ti Quadro M3000 / M4000 / M5500 Quadro T2000/3000
GeForce RTX 2050/3060 Quadro P2000 / P2200 Quadro RTX 6000 / RTX 8000
GeForce RTX 4090 Quadro RTX 3000 RTX A4000/A5000/A6000
GeForce RTX 3090 Ti Quadro M4000 / M5000 RTX 6000
Check Nvidia compatible Cards for Endoding & Decoding

Lifetime License & free updates ( USB Dongle ) school management system project with source code in php

Trial / Product Once Sold are non refundable ,There is no solution if Dongle is Lost or Stolen
To Install & run our all products New USB dongle (Hardware License) is required , To Run Software USB Dongle is Required

Playout software | Streaming Services | Best playout software

    WhatsApp

  • +91 9818273377
  • +91 9312756401

    Email

  • infoamigofx@gmail.com
  • support@amigofx.com

    follow us

© 2026 Amigo Infosoft Pvt. Ltd. All Rights Reserved.