Online Exam System in PHP with Source Code

A simple project based on Online Examination Management System which uses PHP Language. Following PHP project contains all essential features which can be in use for the first-year, second-year IT students for their college projects. It has important features that will allow all the users to interact in a way that online examinations interacts with students on basis of exams and scores. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it. To download free online exam system project in PHP with source code files, please scroll down to the bottom of this post for the Download button.

About Online Exam System Project

Moving on, this examination system project in PHP focuses mainly on dealing with students regarding their respective exams and scorings. Also, the system displays all the available data such as student details, rankings/history, and the number of questions with their respective marks. The project is divided into two categories: Admin Panel, and Teacher’s Panel. In an overview of this web app, the admin has access to create exam questions as well as viewing users’ rank. Talking more about the project, the admin can view rankings of each user based upon their respective scores. In terms of adding exams, an admin has to fill up examination details such as title, a total number of questions, marks, deduction marks, total time, tags, etc, and then he/she has to add the question with options and mark the right answer. Lastly, the admin can view and manage feedbacks of the system.

Student Panel

Besides, the student can only view ranks, his/her history, and attend exams (which is totally based on multiple choise question), but he/she restart the exam too as per their own choice. After completing each exam, the system displays overall results like total questions, a number of right and wrong answers, time with overall scores of that particular student. Later on, the student can view the changes in the user ranking section. Under the ranking section, the system arranges the highest score on the top position whereas the lowest on the last within the top 8 scorers. On the other hand, the history section is for showing the user’s attempt to pass the exams with scores and information like the number of attempt questions, number of right and wrong answers with each exam’s title.

Last but not least, a clean and simple dashboard is presented with simple color combinations for a greater user experience while using this online examination system project in PHP. For its UI elements, a free open-source CSS framework; Bootstrap is on board with Vanilla CSS. Presenting a new online exam system project in PHP MySQL which includes an admin panel with a student’s panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:

  • Admin Panel
  • Student Panel
  • Manage Exams
  • Attend Exams – based on MCQ
  • Exam Scorings
  • Time Limits
  • Student’s History
  • Rankings
  • Feedbacks
Project Name:Online Exam System
Language/s Used:PHP, JavaScript
PHP version (Recommended):5.6.3 and 7.4.12
Type:Web Application
Developer:Sunny Prakash Tiwari
Online Exam System – Project Information

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ ENTER_PROJECT_FOLDER_NAME_HERE ]
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of the Online Exam System Project in PHP. For this particular PHP project, PHP Version 5.6.3 or 7.4.12 is required because the project might not operate well with the latest PHP version. So, users with the latest PHP version (greater than 7.4.12) might face various problems while operating it. As a result, you’ll need to downgrade your PHP version (only if you’re using the latest version) at the moment. Download Free Online Examination System Project in PHP MySQL with Source Code. Still, more features can be added to it in order to make it more comprehensive. So, this online examination system is a simple PHP project for all the beginner as well as the intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more onto it.

Free Download Online Exam System Project in PHP with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. Hi just wanted to give you a brief heads up and let
    you know a few of the pictures aren’t loading correctly.
    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different browsers and both show
    the same outcome.

  2. Sir mujhe data ko direct excel se fetch karwana h Online Examination System wala project me, question details me question and option one by one na dalkar direct excel se hi data ko fetch karwana h kaise kare kuch samjh me nahi a rha youtube or google me bhi search kar liya h please help me sir. Mujhe project ko 2 din baad submit karna ye kam nahi hoga to mera project college me submit nahi lega sir please help me sir. Please replay me sir , iske liye kuch paisa bhi le ligiyega sir. Please help

  3. Fatal error: Uncaught mysqli_sql_exception: Access denied for user ‘root’@’localhost’ (using password: NO) in D:…………..

    I’m getting this error while logging in. What to do?

  4. Fatal error: Uncaught mysqli_sql_exception: Access denied for user ‘root’@’localhost’ (using password: NO) in C:\xampp\htdocs\online-examination-systen-in-php-master\dbConnection.php:3……………………… Help me with this error

    1. Please make sure you have set the correct credentials for the ‘root’ user in your dbConnection.php file. Your server details might be different, so you need to update that file according to your own details.

Leave a Reply

Your email address will not be published. Required fields are marked *