Skip to content

DinhLeGaulois2/mongodb_php_quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Using PHP and MongoDB


Goal

To learn how to use "PHP" with a database. The UI (User Interface) is rudimentary but functional. The main purpose is to learn one more language: the "PHP".

Using "CSS", "Bootstrap" and "jQuery" along with PHP to make a beautiful user interface.

Observations

This application is used to show how three part of a 3-tier Architecture work together. So we have:

user interface <==> PHP <==> MongoDB

Problem

We need to install a driver of MongoDB to allow PHP to work with the database. If we use XAMPP, we should not use the last version because there is no Mongo's driver for it. Instead, we should follow some particular steps (here) or:

alt text

User Interface


Homepage

alt text


Add Quiz's Info

alt text


Add Question's Info

alt text


Add Proposed Answers

alt text


Try to answer the question

alt text


Check Answers

alt text


Execution

Developing using XAMPP as server. To execute the application:

	1. open XAMPP then turn on the Apache module.
	2. open an Internet browser then enter: "localhost/quiz_PHP/documents"

Author

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published