
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

4410/5410 Web Technologies Assignment 5 Spring 2012
Due April 17 (Tuesday night)
Purpose : Database and PHP exercise
Assume that the database for the assignment 4 has been created on a server. You will be creating a XHTML file and a PHP file to use the database.
Constraints : The PHP file should include the include.php which contains only the assignments of following database related variables: $dbhost, $dbuser, $dbpass, and $dbname. IMPORTANT: You should use the above names in your PHP file, otherwise your code will not work when I grade yours assignment. Following is a sample include.php file:
// include.php example $dbhost = 'mysql.cs.mtsu.edu'; // mysql server $dbuser = 'c13606XY'; $dbpass = 'password'; $dbname = 'c13606XY'; ?> The XHTML file should
The PHP file should handle the submitted forms from the XHTML file in the following way:
Each page displayed in the browser should have a heading and the title that specifies the assignment number and your name. Include comments in all files identifying your name, the file name, and the assignment number. All codes should be reasonably commented so that it explains each part.
To turn in this assignment, create a zipped folder that contains all the related files. Submit this zipped folder on D2L (elearn.mtsu.edu) in the dropbox for assignment 5.