Simple E-Learning System in PHP Free Source Code



This project is a Simple e-Learning System. This is a web-based application project developed in PHP and MySQL Database. The main purpose of this web application is to provide an online or virtual platform for a class to learn. The application allows the class to discuss a topic about their subject and teachers can distribute an attachment file assignment for the students. This application has a simple and pleasant user interface and user-friendly features and functionalities that give the end-users a better experience while using the web application

About the Simple e-Learning System

This project was developed with the following:

  • PHP
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery

This Simple e-Learning System application is accessible to anyone. It requires the users to register their account for free by filling in all the required fields on the registration form. After the successful registration, users can access the features and functionalities by logging in to the system with their system credentials. The users can also update their account details such as their biography and profile picture on the application. Users can either create a new class or joined to a class. The user who creates the class will serve as the teacher of the class. Other users that need or want to join the class will be required to enter the class code in order to join the class. On the class page, users can post some topics for discussion and all posts in the class are listed on the discussion feed where other members of the class can see the post and write a comment to the post. Teachers can also post an assignment to the class on the Assignment tab. Here, teachers can upload an attachment file for their student assignment. The application also contains a notification feature that notifies the class members every time one of them posts a topic or comments on a post.

This PHP Project Source Code can also be used as a reference for new programmers or the students that are planning to develop like this project for their final year project. This application has multiple features and functionalities.


  • Login
  • Registration
  • Home Page
    • List All Created Classes.
    • Delete/Remove Created Classes
    • List All Joined Classes.
  • Class Management
    • Create New Class
    • Join a Class
  • Notification
  • Class Page
    • Display Class Details
    • Add New Post
    • Add New Assignment
    • List all Posts
    • List all Assignments
    • Upload attachment file on posting an assignment
    • Comment Section to each Post
    • Edit Post
    • Delete Post
    • Delete Comment
  • Profile Page
  • Update Profile Details
  • Logout

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Login Page

Simple e-Learning System

Registration Page

Simple e-Learning System

Home Page

Simple e-Learning System

Class Form Page

Simple e-Learning System

Class Page

Simple e-Learning System

Notification Page

Simple e-Learning System

How to Run ??


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming vcs_db.
  6. Import the provided SQL file. The file is known as vcs_db.sql located inside the database folder.
  7. Browse the Simple e-Learning System in a browser. i.e. http://localhost/vcs/.

Sample User Access:

Password: cblake123

Password: jforeman123

That's it. You can now explore the features and functionalities of this Simple e-Learning System in PHP. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byAliyu C (not verified)on Mon, 07/25/2022 - 03:30

Hello, I run the application but when I want to upload an image on the profile it displays the below error: File or directory in C:\xampp\htdocs\upload.php on line 38 Warning: move_uploaded_file(): Unable to move "C:\xampp\tmp\php682F.tmp" to "C:/xampp/htdocs/vcs/assets/images/profilePics/aliyu_chika_original.0bbdd079f82f7fb0627098e195ad5645njpeg" in C:\xampp\htdocs\upload.php on line 38 Warning: chmod(): No such file or directory in C:\xampp\htdocs\upload.php on line 39 File didnt upload

Add new comment