Got mycourses.php to have no errors working on viewsubmission.php