|
home—lects—exams—hws
breeze (snow day)
Due: 2011.Feb.05 (Sat) 12:00 noon: prototype: no input validation needed;
html formatting/display doesn't need to be finalized.
Due: 2011.Feb.14 (Mon) 10:00: final version
You will build two PHP pages,
crs-cat-entry.php and crs-cat-resp.php.
The PHP documents must be
present in your RU account with permissions set so I can access them at
https://php.radford.edu/~userid/itec325/hw01/crs-cat-entry.php.
They must also use the
<html> ⋮ <body> ⋮ <h2>Source Code</h2> <?php ini_set('date.timezone','America/New_York'); echo "Last modified: ", date("Y.M.d (D) H:i.", filemtime(__FILE__)), "<br />\n"; show_source(__FILE__); ?> <body> <html> |
Make sure you review the requirements list at the bottom of this document. The first script (~/itec325/hw01/crs-cat-entry.php) should display a form that allows the client to input information about a course that is required for one of the majors in the ITEC department. The most significant requirement in this form is the validation requirements.
checkboxes — when a major text box is selected the area of concentration checkboxes (for that major) are enabled; they start out disabled. (This is needed for the final version, but not the prototype.)
The receiving script should be named crs-cat-resp.php in the same directory. It receives the data from the input form and displays it as shown below. Note that the course title and course number are displayed in all caps2. There should be distinct sections with borders. The Majors and associated areas of concentration should be displayed in a list similar to the figure below.
Your pages don't need to look identical to the above images, but should look well-organized, typo-free, etc.
Each file should start (after a doctype declaration) with a PHP comment
with your name and a summary description of what the php code accomplishes.
Use meaningful variable names, function names, and good comments as needed.
Javascript code should be described with inside
(“
1 The half-open interval means that 100 is included in the range, but 600 is not. ↩
2Um, your page won't actually have the literal note about the all-caps, though. ↩
home—lects—exams—hws
breeze (snow day)
©2011, Ian Barland, Radford University Last modified 2011.Mar.04 (Fri) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |