Beruflich Dokumente
Kultur Dokumente
: Web Database
Effective Period : September 2015
Web Database
Web database implementation
Acknowledgement
These slides have been adapted from:
Prigmore, Martyn. 2008. An Introduction to
Databases with Web Application. Pearson
Canada. ISBN:978-0-321-26359-9
Chapter 4
Outline
Web database implementation using HTML
Web database implementation using php
Illustrating the use of HTML forms and the HTTP GET method.
(a) A simple HTML form to gather data and submit it for
5
processing
10
Figure Below shows the HTML form that gathers marks for an
individual
student. Notice that each assignment has a maximum mark.
In the example
shown, the assignment is marked out of 80 rather than 100.
This means that the PHP script should convert the mark into
a percentage before saving it in the database.
The HTML form used to enter a students mark into the assessment system