E-Learning System Using PHP/MySQLi

Submitted by: 
Visitors have accessed this post 11759 times.

E-Learning System 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 SourceCodester.com 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.


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

login the following details above in this url http://localhost/chmbac/admin/

Great work I like it

visit our site daily for more updates

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

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!

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

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

Please remove the password in the config.php file

It still wouldn't work "Problem in database connection! Contact administrator"

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.