Program of Study for Second Degree
\n
Student: " .$studentInformation1['firstName']. " " .$studentInformation2['lastName']. " | Student ID: " . $studentID . "\n
Academic Advisor: " .$studentInformation3['advisor']. " | Previous Major: " . $prevMajor['prevMajor'] . "\n
Second Major: " . $majorID . " | Required Credits: " .$studentInformation4['reqCredits']. "\n
"; } } get_header($major, $studentID); ?>
Core
Electives
Cognates
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; } else { //compare the history table include 'list_cognate_history_classes.php'; get_cogn_history_classes($studentID); include 'connect.php'; $connect = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname) or die("Unable to connect to 'pi.cs.oswego.edu'"); //getting only the courses from the arrays $coreCourses = Array(); for($count = 0; $count < sizeof($currCoreCourses); $count++) { array_push($coreCourses, $currCoreCourses[$count]['courseID']); } $electCourses = Array(); for($count = 0; $count < sizeof($currElectCourses); $count++) { array_push($electCourses, $currElectCourses[$count]['courseID']); } $cognCourses = Array(); for($count = 0; $count < sizeof($currCognCourses); $count++) { array_push($cognCourses, $currCognCourses[$count]['courseID']); } //get arrays ready for POST $coreCoursesString = htmlentities(serialize($coreCourses)); $electCoursesString = htmlentities(serialize($electCourses)); $cognCoursesString = htmlentities(serialize($cognCourses)); //values used in next php echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; } ?>