Skip to main content

E-Learning System Using PHP/MySQLi


E-Learning System with free source code is a web based system that aims to make the role of teachers easier in making their lessons, activities and quizzes. The function of this is, the teacher can upload his lesson whether it’s a video or a pdf file. He can also set questions of quizzes or activities based on the lesson that he uploaded. The students need to create an account first so they can log-in and they can now view the lesson and take the quiz. And if the student already has an account he has now an access to download and view the videos/pdf files.

These are the following features of the system:

Admin Side


  • List of Lessons
  • Upload Lesson
  • Edit Lesson
  • Change the File
  • View Lesson
  • Delete Lesson


  • List of Question
  • Add Question
  • Edit Question
  • Delete Question


  • List of Students

Manage Users

  • List of Users
  • Add User
  • Edit User
  • Delete User

Student side

  • Create Account
  • Login and Logout
  • View Lesson
  • Take Quizzes
  • Generate Score
  • Download Lessons

You can access this system using the following accounts
Username : janobe
Password : admin

Download and install the following:

xampp latest version

For more information about the system. You can contact me @

Email – [email protected]
Mobile No. – 09305235027 – TNT
Or feel free to comment below.

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 byDemzzz (not verified)on Fri, 12/14/2018 - 00:19

I can't connect to the database, the error prompt "Problem in selecting database! Contact administrator!" just when I set the password to null. But when I did not delete the password the error prompt like this: " (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\caiwl\include\database.php on line 19
Problem in database connection! Contact administrator". Pls help

Submitted byjanobeon Wed, 04/24/2019 - 11:34

In reply to by Demzzz (not verified)

Please remove the password in the config.php file

Submitted byMick alienhu (not verified)on Sun, 05/17/2020 - 00:05

In reply to by Demzzz (not verified)


go to this file and edit
('localhost','root',' ','table name');

Submitted byAubrey Drake (not verified)on Fri, 12/14/2018 - 01:30

I cannot login using the username: janobe & pass: admin.

Submitted bymrdio (not verified)on Sat, 04/06/2019 - 12:48

Warning: mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\CAIWL\include\database.php on line 19
Problem in database connection! Contact administrator!

Submitted byjanobeon Wed, 04/24/2019 - 11:33

use this url to open the admin side of the system and login the given details above.

Submitted byAnonymous (not verified)on Mon, 07/01/2019 - 14:52

I also cannot login using the username: janobe & pass: admin. Kindly advise. It show "Account does not exist! Please contact Administrator."

Submitted bycsentus (not verified)on Thu, 11/14/2019 - 19:27

your idea is good and i am currently learning PHP. pls i need the login details for student

Submitted byanitha maran (not verified)on Fri, 02/14/2020 - 14:54

Warning: require_once(C:/xampp/htdocs\CAIWL\include\config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\el\lms\E-Learning Management System\include\initialize.php on line 14

Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs\CAIWL\include\config.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\el\lms\E-Learning Management System\include\initialize.php on line 14

I get the above error when i run this code..please help me sir.

Submitted byarifzazli (not verified)on Sat, 05/30/2020 - 12:57

thank you for sharing. i successfully run it and currently edit it to match my design n requirement.
what ive done to run it same like janobe instructions:
1. install xampp
2. create dbcaiwl using localhost/phpmyadmin
3. access it at browser.. localhost/caiwl/login.php 4. then use localhost/caiwl/admin/login.php to access admin view 5. easy right.
6. I use Visual Studio Code to edit the codes..... and just refresh the browser to view the results of edited codes.

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.