0% found this document useful (2 votes)
282 views2 pages

CSE391 Assignment3

This document outlines an assignment for a PHP and mySQL course. Students are asked to create a student registration webpage that allows students to sign up for one of four time slots for a module demonstration. The submitted data should be stored in a mySQL database. The webpage must interact with the database, displaying available slots and blocking full ones. It also checks if a student has already registered, allowing changes or blocking duplicate entries. A separate page is required to display students registered in each time slot. Students earn points for implementing the required functionality and database, as well as designing the pages to standards with additional optional features.

Uploaded by

Risul Karim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (2 votes)
282 views2 pages

CSE391 Assignment3

This document outlines an assignment for a PHP and mySQL course. Students are asked to create a student registration webpage that allows students to sign up for one of four time slots for a module demonstration. The submitted data should be stored in a mySQL database. The webpage must interact with the database, displaying available slots and blocking full ones. It also checks if a student has already registered, allowing changes or blocking duplicate entries. A separate page is required to display students registered in each time slot. Students earn points for implementing the required functionality and database, as well as designing the pages to standards with additional optional features.

Uploaded by

Risul Karim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CSE

391: Programming for the Internet


Assignment 3: PHP and mySQL Project
Deadline: 21 February 2011
Submission of work Please remember to have your webpage(s) online so that I can access them via a web browser.

Having your webpages online is a necessary part of this assignment so that I can accurately assess they are working correctly.
PROBLEM
There are 32 students assigned to a module. In order to organize module demonstrations, the class should be split into four groups with different time slots. Each group should consist of 8 students. The module lecturer decided to have a registration webpage to allow students to sign up for one of the demonstrations. A student visiting the page should be able to submit her name, student ID, email address, and book a place in one of the time slots. For example, the registration Web page of COMP207 looks like this:

The submitted data should be stored in a database which is maintained on a server. The webpage and the server should interact with each other at every step of the registration process. The page should show how many free places are available in each time slot, announcing and blocking all fully booked time slots. After a student makes a data submission, it should check whether the student has been already registered. If not, the data is stored on the server and the student is notified about her registration. Otherwise (if already registered), the student should be prompted to ensure that she wants to change her registration to the new section (and removed from the current one she is registered for). As a means of checking which students are registered in each section, you should also write a separate webpage that will allow the module lecturer to choose a section and, after querying the database, will display the list of students who are registered in that section to a webpage.

ASSIGNMENT
For your assignment, you are to write a registration webpage using HTML, CSS, JavaScript, PHP and mySQL.

Part 1 (70 pts)


The database must fully implement the registration process, maintaining the submitted information. The server and page behavior must meet the requirements listed above. In addition, (basic) help facilities should be provided. The separate page for the lecturer should also be working so that he/she can see the students currently enrolled.

Part 2 (30 points)


The specific look and feel of the pages as well as the database implementation is left intentionally vague, allowing considerable design freedom on your part. However, the page should have a nice look and the code should satisfy common standards. You may also add additional features to your page. For example, you can add JavaScript and/or PHP functions which can validate the name (for example, that the field isn't empty), SID (that it has only numbers in it), and email fields.

Final mark
This assignment contributes 1/4 of the continuous assessment part of the course grade.

You might also like