"; echo "DEBUG Parameter id: ". $id . "
"; echo "DEBUG Parameter course: ". $course . "
"; echo "DEBUG Parameter grade: ". $currentgrade . "
"; } // Steve is faculty member and therefore can edit any student grades if (strcmp($_COOKIE['user_name'],"steve")==0) { echo "

The current grade for student " . $id . " in course " . $course . " is " . $currentgrade . "
"; echo "Select the new grade:

"; echo "HD "; echo "D "; echo "C "; echo "P "; echo "F "; echo "
or
"; echo "A "; echo "B+ "; echo "B "; echo "C+ "; echo "C "; echo "D+ "; echo "D "; echo "F "; } else { echo "

You are not allowed to edit grades.

"; } echo "

View/edit more grades

"; echo "

Return home

"; } else { header("Location: index.php"); } siteFooter(); ?>