Online Exam System using PHP/MySQLi with Source Code

Language

This simple project is entitled Online Exam System. This system was developed using PHP Programming Language. The system is a simple online platform that manages simple exam questions and provides users an online answer sheet. This web application has 2 types of users which are the administrator and the normal users. The administrator user is in charge of managing the questions and choices of each question. The normal users are the ones who are answering the questions in this system. The users can register their credentials on the registration page and login afterward to answer the series of questions created by the admin.

This Online Exam System project was developed using PHP/MySQLi, MySQL Database, HTML, CSS, and JavasScript (jQUery and Ajax). This has a pleasant user interface and user-friendly features and functionalities. The source code is free to download. Continue reading for the Features and Installation instructions.

Features

Admin

  • Manage Question List
  • Manage Choices Each Question
  • Manage Correct Answer Each Question
  • Manage Users List

Users

  • Login and Registration
  • Answer the Questions
  • View Result
  • View All Questions with the Correct Answers

How to Run

Requirements

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

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "db_exam".
  6. Import the provided SQL file. The file is known as "db_exam.sql" located inside the extracted source code folder.
  7. Browse the Simple Online Exam System in a browser. i.e. http://localhost/exam/admin for the admin side and http://localhost/exam for the normal users

Credentials

Admin
Username: admin
Password: 123

Sample User
Email: [email protected]
Password: 123

Demo

That's it! You can now experience/explore the features and functionalities of this Simple Online Exam System Project. I hope this simple PHP Project Source Code will help you with what you are looking for and for your future projects.

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted bymathankumar r (not verified)on Wed, 01/23/2019 - 14:45

Simple and Super Project very helpful to my reference...thank you
Submitted bySubhashis (not verified)on Thu, 03/21/2019 - 16:24

Hi while trying to unzip and load the project I found that mysqli.php file is missing for which this index.php is not working.
Submitted byomiad (not verified)on Fri, 11/01/2019 - 02:16

wow it is so nice php project

Awesome.

But 

Admin Panel - Manage User

Notice: Undefined variable: userid in C:\xampp\htdocs\exam\classes\User.php on line 125

I am just learning. Please give me a sollution. 

Thank you.

start from scratch you will easily learn everything, all codes from this sites are working if u know how to do it (programmers mind) ps: do some simple searching first like CRUD
Submitted byDominic247 (not verified)on Sat, 09/25/2021 - 07:11

The admin should be able to manage candidates results from the admin panel. How do I create a tab under the skin panel to manage results?

Add new comment