Online Exam System in PHP

Online Examination System In PHP With Source Code

Project: Online Examination System in PHP with source code

About Project

Online Examination System is developed using PHP, CSS, bootstrap, and JavaScript. Talking about the project, it contains an admin side from where a user can take and manage exams easily. The Admin plays an important role in the management of this system. In this project, the user has to perform all the main functions from the Admin side.

About System

Talking about the features of the Online Examination System, the user can register new examinee. For this, the user has to provide name details, gender, department, email, and mobile number. The admin can also view exam details and add exams by providing exam description, starting and ending date and duration.

Besides, the user can manage questions for the examination. He/she can add and view the question set. In order to add questions, the user has to enter exam description, question description, multiple choice options, and a correct answer. It also contains user management for easy management of the system. Other features inlude system log, activity log and manage status.

Design of this project is pretty simple so that the user won’t find any difficulties while working on it. Online Examination System in PHP helps the user in taking and managing online exams easily. To run this project you must have installed virtual server i.e XAMPP on your PC (for Windows). Online Examination System in PHP with source code is free to download, Use for educational purposes only! For the project demo, have a look at the GIF below.

Features:

  1. Login System
  2. Manage Examinee, Exam, Questions
  3. User management system
  4. System log
  5. Activity log
  6. Manage status
How To Run??

After Starting Apache and MySQL in XAMPP, follow the following steps

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

Now Connecting Database

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “cman” and then click on the import tab
7th Step: Click on browse file and select “cman.sql” file which is inside “DATABASE” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/onexam/”

Provide the username and password which is provided inside the “Readme.txt” file.

LOGIN DETAILS ARE PROVIDED IN “Readme.txt” FILE INSIDE THE PROJECT FOLDER

Got stuck or need help customizing Online Examination System as per your need, go to our PHP tutorial or just sign up to ask your questions in the forum or just comment down below and we will do our best to answer your question ASAP.

DOWNLOAD ONLINE EXAMINATION SYSTEM IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW


Author: Fabian Ros
5 1 vote
Article Rating
Subscribe
Notify of
guest
35 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
PRAVEEN BHOSLE
PRAVEEN BHOSLE
5 years ago

HI

amburushi
amburushi
5 years ago

Guys I want source code of design Java applet of sorting algorithms

abhilash
abhilash
5 years ago

i am not able to load the project i imported the project as instructed pls help me i am getting ” Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:xampphtdocsonexamlibdbcon.php:8 Stack trace: #0 C:xampphtdocsonexamheader.php(45): dbcon() #1 C:xampphtdocsonexamindex.php(1): include(‘C:\xampp\htdocs…’) #2 {main} thrown in C:xampphtdocsonexamlibdbcon.php on line 8 ”
pls help me on this

Riyad Ahmed
5 years ago

Online Examination System In PHP With Source Code
This scurce code not working why

iamshak
iamshak
5 years ago

not working !!!!!!!!!!!!!!!!

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:xampphtdocsonexamlibdbcon.php:8 Stack trace: #0 C:xampphtdocsonexamheader.php(45): dbcon() #1 C:xampphtdocsonexamindex.php(1): include(‘C:\xampp\htdocs…’) #2 {main} thrown in C:xampphtdocsonexamlibdbcon.php on line 8

Claudio
4 years ago
Reply to  iamshak

Use: $pMysqli = new mysqli(‘p:’.localhost, root, ”, cman);
instead of
mysqli_pconnect($host,$user,$pass);
mysql_select_db($db);

Claudio
4 years ago
Reply to  Claudio

I mean : $mysqli = mysqli_connect(‘localhost’, ‘root’, ”, ‘cman’);

freelancer
freelancer
4 years ago

online exam system is not working.it got stucked on Dashboard.php

Lavanya maran
Lavanya maran
4 years ago

it is showing this error

Fatal error: Uncaught Error: Call to undefined function mysqli_pconnect() in C:xampphtdocsOnlineExamSystem_PHPonexamlibdbcon.php:8 Stack trace: #0 C:xampphtdocsOnlineExamSystem_PHPonexamheader.php(45): dbcon() #1 C:xampphtdocsOnlineExamSystem_PHPonexamindex.php(1): include(‘C:\xampp\htdocs…’) #2 {main} thrown in C:xampphtdocsOnlineExamSystem_PHPonexamlibdbcon.php on line 8

Jude Ikechukwu
Jude Ikechukwu
4 years ago

http://127.0.0.1/admin/index.php
http://127.0.0.1/admin/developer.php
The folder that contains the above link was not found but
http://127.0.0.1/it_experience/online_exams/OnlineExamSystem_PHP/onexam/Stud/index.php exist but can’t login with the provided
username: stud
Password: stud123

Please how can I get the complete folder.
Thanks

Sunny
Sunny
4 years ago
Reply to  Jude Ikechukwu

Login in student panel with email and mobile no exist in teens table

abood
abood
2 years ago
Reply to  Jude Ikechukwu

I have the same problem, what is the solution?

Sunny
Sunny
4 years ago

This project is excellent…

yukthi
yukthi
4 years ago
Reply to  Sunny

mine is not executing

yukthi
yukthi
4 years ago
Reply to  yukthi

i am getting an error like this– Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\lib\dbcon.php on line 8

bond
bond
4 years ago
Reply to  Sunny

not working pls help database canot connect

Abednego Innocent T
4 years ago

Js file not loading, nav bars at dashboard not working

Saikat Biswas
Saikat Biswas
3 years ago

Not Working ………………………

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8

abhijit mondal
abhijit mondal
3 years ago

i am not able to load the project i imported the project as instructed pls help me i am getting ” Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:xampphtdocsonexamlibdbcon.php:8 Stack trace: #0 C:xampphtdocsonexamheader.php(45): dbcon() #1 C:xampphtdocsonexamindex.php(1): include(‘C:\xampp\htdocs…’) #2 {main} thrown in C:xampphtdocsonexamlibdbcon.php on line 8 ”
pls help me on this

Ravindra Patil
Ravindra Patil
3 years ago

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8

please give me solution in steps.

Mohit
Mohit
3 years ago

when i run this program it is showing a blank white screen , please tell me the reason

MOHAMED SOLIMAN
3 years ago

error
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8

Ravindranath Patil
Ravindranath Patil
3 years ago

getting error on installation time. please help

Error is given below

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8

isaiah
isaiah
3 years ago

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\OnlineExamSystem_PHP\onexam\lib\dbcon.php on line 8

Janvi Rajput
Janvi Rajput
3 years ago

I got this error while doing a step 9
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8

Hammad Shaikh
Hammad Shaikh
2 years ago

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8

Muskan
Muskan
2 years ago

This project is not working. Showing: Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in E:\xampp-server\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 E:\xampp-server\htdocs\onexam\header.php(45): dbcon() #1 E:\xampp-server\htdocs\onexam\index.php(1): include(‘E:\\xampp-server…’) #2 {main} thrown in E:\xampp-server\htdocs\onexam\lib\dbcon.php on line 8

please help me out.

Uthman Tukur
Uthman Tukur
5 months ago

Please I need help
Uncaught Error: call to undefined function mysql

Aroosha Masood
Aroosha Masood
2 months ago

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\onexam\lib\dbcon.php:8 Stack trace: #0 C:\xampp\htdocs\onexam\header.php(45): dbcon() #1 C:\xampp\htdocs\onexam\index.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\onexam\lib\dbcon.php on line 8 I am facing this error