Server IP : 172.16.15.8 / Your IP : 3.145.91.152 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/lgbales/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); ?> <!-- Lyle Bales Assignment 3 --> <?php $pass = $_SESSION['psw']; if($pass != "ch7hw") print "Wrong Password! Enter correct Password!"; else { ?> <center> <H2> Results of Survey </H2> <HR> <?php $flname = $_SESSION['flname']; $gender = $_SESSION['gender']; $grade = $_SESSION['grade']; $course = $_SESSION['course']; print "Name: $flname <BR> "; print "Gender: $gender <BR>"; print "Grade Level: $grade <BR>"; print "Course for Survey: $course <P>"; print "1. This class was very helpful to me. <BR> "; $a1 = $_POST['q1']; print "$a1 <BR>"; $r1 = $_POST['q1remark']; print "$r1 <P>"; print "2. The teacher was helpful. <P>"; $a2 = $_POST['q2']; print "$a2 <BR>"; $r2 = $_POST['q2remark']; print "$r2 <P>"; print "3. The length of the assignments were equal to the amount learned in class. <P>"; $a3 = $_POST['q3']; print "$a3 <BR>"; $r3 = $_POST['q3remark']; print "$r3 <P>"; print "4. The teacher was informed about the subject. <P>"; $a4 = $_POST['q4']; print "$a4 <BR>"; $r4 = $_POST['q4remark']; print "$r4 <P>"; ?> <HR> <A HREF=survey.html>Go Back</A> </center> <?php } ?>