/*Save the list of students to the $_SESSION['students'] variable. On success forward to index2.php */ session_start(); $students = array(); if( isset( $_REQUEST['students'] ) ) { $tmp = explode( "\n", strip_tags( $_REQUEST['students'] ) ); //print_r( $tmp ); foreach( $tmp as $s ) { $student = explode(',', $s ); $students[ $student[0] ] = $student[1]; } $_SESSION['students'] = $students; header('Location: index2.php'); } ?>
To use simply enter a students ID number and name separated by a comma. One student per line. If you would like to bookmark your class roster bookmark the link on the next screen.
Click next and enter the ID and score of the assignment you would like to grade.
Click next and enter the scores for each students. When you are finished click save.
Click the xml or csv link next to either download or email retrieve your data.