Server IP : 172.16.15.8 / Your IP : 52.14.27.122 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/madelianides/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- StudentRegistrationForm2.php --> <CENTER> <?php session_start(); $Name = $_SESSION['n']; $Gender = $_SESSION['gender']; $Year = $_SESSION['year']; $Result = $_POST['q1']; $Result2 = $_POST['q2']; print "Name: $Name<P>"; print "Gender: $Gender<P>"; print "Year: $Year<P>"; if($Result == "Computer1") { print "Computer Course: CS112<P>"; } else if($Result == "Computer2") { print "Computer Course: CS212<P>"; } else if($Result == "Computer3") { print "Computer Course: CS310<P>"; } else if($Result == "Computer4") { print "Computer Course: CS311<P>"; } else if($Result == "Computer5") { print "Computer Course: CS380<P>"; } else if($Result == "Computer6") { print "Computer Course: CS440<P>"; } else if($Result == "Computer7") { print "Computer Course: CS480<P>"; } if($Result2 == "Math1") { print "Math Course: Math 135<P>"; } else if($Result2 == "Math2") { print "Math Course: Math 136<P>"; } else if($Result2 == "Math3") { print "Math Course: Math 171<P>"; } else if($Result2 == "Math4") { print "Math Course: Math 172<P>"; } else if($Result2 == "Math5") { print "Math Course: Math 271<P>"; } ?> </CENTER> <CENTER> <A HREF=Login4StudentRegistrationForm.html>Login Page </A> <A HREF=index.html>Back to Homepage </A> </BODY> </CENTER>