image of online quiz site
PHP Projects

Online Quiz Site In PHP With Source Code

Project: Online Quiz Site in PHP with source code

-To download Online Quiz Site In PHP project for free(Scroll Down)

The Online Quiz Site In PHP is a simple project for taking and giving the examination/test online. The project contains an admin side and the user side. The admin can view and manage the users, their rankings, and manage the quiz questions. The purpose of taking the online exam/test is to help the students to practice and learn more about the topic. Also, this online method needs less manpower to execute the examination.

The users are the students who want to take part in this online test site. A user has to login to enter the quiz competition. If he/she has not registered, they can register first and then login. This project is a very simple project that makes a convenient way for any organization to check the performance of the students and rank them according to their doings.

About System

This Online Quiz Site is in PHP, CSS, JavaScript, and bootstrap. Talking about the features of the Online Quiz site, it just contains both the admin section and the user section. The user can log in to give the exam, while the admin can view all users, their rankings and manage questions. The design of this project is pretty simple so that the user won’t find any difficulties while working on it.

How To Run The Project?

To run this project, you must have installed a virtual server i.e XAMPP on your PC (for Windows). This Online Quiz Site in PHP with source code is free to download, Use for educational purposes only!

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/

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 “quiz” and then click on the import tab
7th Step: Click on browse file and select “quiz.sql” file which is inside the “A-Online-Quiz-Site” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/ A-Online-Quiz-Site /”

Note: For admin login, username: admin and password: admin

For the project demo, you can look at the video below:

project demo


Got stuck or need help customizing Online Quiz Site as per your need, go to our PHP tutorial or just comment down below and we will do our best to answer your question ASAP. 

Leave a Reply

3 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
3 Comment authors
moosaEmmanuelDavid Oladele Recent comment authors
newest oldest most voted
Notify of
David Oladele
David Oladele

This is very wonderful but is possible to switch it up that once you select an answer it Moves to the next question. Also is it possible to set Questions based on branch?


Nice one guys. There is something I’m actually looking for in a quiz app. Expiring password/Token for students created by the teacher and not the admin


add quiz part is not working how to fetch data