Skip to main content

Online Courseware Using PHP/MySQL


Hi everyone, i made this code in order to help other programmer that find difficulties in creating online course ware using php.

There are 3 user of this code, the student, teacher, and the admin.
1. the function of the student is take the quiz, exams provided by the teacher.
2. the function of the teacher is he can set number of items, create question, activate and deactivate question, generate grades and among others.
3. the function of the admin is he can execute all the rule of the teacher, and the admin also can create an exam and among other.

database name:pcci
admin username: admin
admin password: admin

to add teacher and student you must login first in admin mode

the code and the sql file are included in the zip

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 for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


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.


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 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

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"



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

is this system has a algorithm?

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.