Giter VIP home page Giter VIP logo

school_demo's Introduction

School Demo Project

This project is a simple PHP application to manage students and classes in a school. It allows users to add, view, edit, and delete students and classes. The project uses MySQL for the database and Bootstrap for styling.

Features

  • Add, view, edit, and delete students.
  • Add, view, edit, and delete classes.
  • Navigation bar for easy access to different pages.
  • Modal for editing classes.

Prerequisites

  • PHP >= 7.3
  • MySQL
  • XAMPP (or any other local server with PHP and MySQL)
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/school_demo.git
    cd school_demo
    
  2. Set up the database

  • Open phpMyAdmin and create a database named school_db.
  • Import the provided SQL file (school_db.sql) to create the necessary tables.
  1. Configure the project
  • Ensure XAMPP (or your local server) is running.
  • Place the project folder (school_demo) inside the htdocs directory of XAMPP.
  • Edit the db.php file and update the database credentials if necessary.
  1. Run the project

Project Structure

  • index.php: Main page displaying the list of students.
  • classes.php: Page for managing classes.
  • create.php: Page for adding new students.
  • edit.php: Page for editing student details.
  • view.php: Page for viewing student details.
  • db.php: Database connection file.
  • delete.php: Script for deleting students.
  • delete_class.php: Script for deleting classes.
  • edit_class.php: Script for editing classes.
  • uploads/: Directory to store uploaded images.
  • school_db.sql: SQL file to set up the database.

Screenshots

  1. Student Lists demo-1

  2. Manage Classes Demo-2

  3. Add Student Demo-3

  4. Edit Class Demo-4

Live Demo

You can see a live demo of the project here.

Author

school_demo's People

Contributors

ryavee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.