";
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:
You are not allowed to edit grades.
"; } echo ""; echo ""; } else { header("Location: index.php"); } siteFooter(); ?>