Server IP : 172.16.15.8 / Your IP : 3.149.239.79 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/jmmowatt/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start();?> <BODY> <HR> <?php $class = $_SESSION['class']; $name = $_SESSION['name']; $a1 = $_POST['q1']; $a2 = $_POST['q2']; ?> <CENTER> <H2> Evaluation Results: </H2> <HR> <?php print "Student name: $name <P>"; print "Course chosen: $class <P>"; if($a1 == "sa") { print "Strongly agrees with question 1 <P>"; } else if($a1 == "a") { print "Agrees with question 1 <P>"; } else if ($a1 == "d") { print "Disagrees with question 1 <P>"; } if($a2 == "sa") { print "Strongly agrees with question 2 <P>"; } else if($a2 == "a") { print "Agrees with question 2 <P>"; } else if ($a2 == "d") { print "Disagrees with question 2 <P>"; } ?> </CENTER> </BODY>