Edit Airport Form
<<Back to Main Menu
Description:
Displays airports's existing information in an Edit Airport Form for editing.
Accessible by:
Managers
Accessed from:
View Airport
Input parameters:
Airport Code
Output
Edit Airport Form, or error message
Pseudo Code:
get/create session
if ('usertype' param in session == 'm') {
get parameters from the form
if ((the 'Airport Code' param is set)AND(it's in the correct format)) {
get the airport details from the database
display Edit Airport Form
}
else {
display error message
}
}
else {
error message to say user must be a manager
}