Online Courseware Using PHP/MySQLi Free Source Code

Language

Introduction

Hi everyone! I made this code in order to help other programmers that find difficulties in creating an online courseware Web Application using PHP. This application helps the teachers provide their students an online platform for taking a quiz. This has 3 types for users which are the Admin, Teachers, and Students.

About the system

This Online Courseware Web app was developed using PHP, MySQL Database, HTML, CSS, JavaScript, and some other plugins/libraries. This was originally written using PHP/MySQL which is the old version of PHP but I did some upgrades in the source code so this will run properly in the latest version of PHP such as PHP 7 or later. As I have said above, this project has 3 types of users and each of these users has different functionalities. The Admin can manage all the important lists such as the list of students and teachers. Admin user also the one who can activate or deactivate the other users. The Teacher can create a series of questions for the students to be taken. He/She can also share the question with another teacher so the question can be also available to his/her student as well. Teachers are the ones who can set max items that the student can be taken and also they can view the result/scores of his/her students. The students will take the quiz provided but their teachers and the question will be randomly asked and same to the choices each. The items that students will be limit only to the max item set by their teachers.

Features:

Admin

  • Login/Logout
  • Manage Teacher List
  • Manage Student List
  • Manage Questions
  • View Scores

Teachers

  • Login/Logout
  • Add Question Category
  • Manage Question
  • List Students
  • View Student Score

Teachers

  • Login/Logout
  • Take Quiz

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 zip 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 pcci.
  6. Import the provided SQL file. The file is known as pcci.sql located inside the extracted source code folder.
  7. Browse the Web Application in a browser.
    Student
    http://localhost/pcci
    Teachers
    http://localhost/pcci/teacher
    Admin
    http://localhost/pcci/admin

Admin Login Information:

Username: admin
Password: admin

DEMO

That's it! You can now explore the features and functionalities of this Online Courseware Web App in PHP. I hope this will help you understand how to create a web application like this and you'll find it useful for your future PHP 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 bysarabjeet (not verified)on Wed, 11/21/2012 - 18:17

Really like that you are providing such information on PHP MYSQl with JAVASCRIPT ,being enrolled at http://www.wiziq.com/course/5871-php-mysql-with-basic-javascript-integrated-course i really thank you for providing such information it was helpful.
Submitted byyeye (not verified)on Fri, 11/23/2012 - 08:36

good work. if i login it is displaying username and password not found. i used the name store in the database. thanks
Submitted byargieon Fri, 11/23/2012 - 16:19

In reply to by yeye (not verified)

try to register new student record so that you can login to create student you must login first as admin and create user, the error maybe cause by md5 login
Submitted byAnonymous (not verified)on Wed, 12/19/2012 - 19:36

Hi...sir ur code is very helpful..but sir one problem occured when login any user then gets warning Warning: session_start() like that how can i handle it.
Submitted byAnonymous (not verified)on Tue, 09/10/2013 - 20:27

i have this error."Query failed"

D:\xampp-portable-win32-1.8.2-3-VC9\xampp\htdocs\onlinecourseware\onlinecourseware\pcci\admin\index.php http://localhost/onlinecourseware/onlinecourseware/pcci/admin/index.php admin admin .... yan pasok na po kayu as admin.. heheh
Submitted byno idea (not verified)on Sat, 12/06/2014 - 23:03

after login in the student login the goes directly to the scores and having some errors.
Submitted byLlyd Andr (not verified)on Mon, 07/16/2018 - 23:11

Hi is this system has a algorithm?

Add new comment