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, and
JavaScript. Talking about the project, it contains an admin side and a user side from where a user can take online 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 simply create his/her account and take online test/examination. All the question are Multiple choice questions, so the user just has to select the correct answers among the given choices and gain certain score points. From the admin panel, the admin can CRUD all the questions for the users.

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 online tests 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 image slider below.

Features:

  1. Login/Register System
  2. Admin Panel
  3. Take online exams
  4. User Profile
  5. CRUD Questions
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 “db_exam” and then click on the import tab
7th Step: Click on browse file and select “db_exam.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/exam/”

For Admin Panel
Go to URL “http://localhost/exam/admin/”

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

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


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

I am getting this error in the admin section under managing users:

Undefined variable: userid in C:xampphtdocsexamclassesUser.php on line 125

I fixed the error (by defining it)

I was not getting the users info still in the admin section but when i changed this line(#55 in adminusers) from ( getAllUser ) to ( getUserData ) the users details were shown however there is this error:

Warning: Missing argument 1 for User::getUserData(), called in C:xampphtdocsexamadminusers.php on line 55 and defined in C:xampphtdocsexamclassesUser.php on line 92

How do i fix it? (I am using XAMPP with php 5.6.3)

darkwebplayer
darkwebplayer
5 years ago

just change the line in 125(sql query) of classes/users.php by deleting the ‘where’ clause from the statement ,this is what worked for me

shaikhmohinbcde@gmail.com
5 years ago

I have need synopses on Online Examination System In PHP With Source Code.
if are you have synopses and project report above said subject, so please seed me
[email protected]

Kumar
Kumar
5 years ago

if are you have synopses and project report above said subject, so please seed me

Kumar
Kumar
5 years ago

What is the work of admin panel -manage user

sunny
sunny
5 years ago

how to change the heading plz help me

dsp
dsp
5 years ago

how to change heading ………….help me

vamsi
vamsi
5 years ago

There is no option for Admin to take the user exam performance report.

thiarara
5 years ago

worked for me perfectly

ayman
ayman
5 years ago

i download and create database , show form but login or registration not work. please solution

codeprojects
Editor
5 years ago
Reply to  ayman

did u import the sql file?

maritel dawa
maritel dawa
5 years ago

helo sir i cannot open the admin page…i entered username:admin with password:123..what went wrong?

Keerthana
Keerthana
4 years ago

I get error while doing the 9th Step: Open a browser and go to URL “http://localhost/exam/”.The given url is not found it seems.

Rock
4 years ago

I am getting this error in the admin section under managing users:

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

How I can solve this error ?

ASDDF
ASDDF
4 years ago
Reply to  Rock

Did u fix it ? Help me to plzz

Nosa Edegbe
Nosa Edegbe
4 years ago

Thanks for making your source code available for use in research. It is of great help to me.

Nosa
Nosa
4 years ago
Reply to  Nosa Edegbe

Moderator, please use my first name: Nosa. Thanks

KSDKSSK
KSDKSSK
4 years ago

Can someone plz help me to fix it.

I am getting this error in the admin section under managing users:

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

How I can solve this error ?

SAMMY YEGO
SAMMY YEGO
3 years ago

I am not able to access the “http://localhost/exam/” after clicking go

body{display:none;}
body{display:none;}
3 years ago

body{display:none;}

Thái Soqn
Thái Soqn
3 years ago

Help: Notice: Undefined variable: userid in C:\Program Files\VertrigoServ\www\exam\classes\User.php on line 125