Server IP : 172.16.15.8 / Your IP : 3.147.65.47 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/kfmurray/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- File Name: ClassInfo.php --> <?php session_start(); ?> <CENTER> <style> body { background-color: aquamarine; } </style> <H2> Select classes below </H2> <FORM action=ResultsPage.php method=post> <?php $name = $_POST['name']; $gender = $_POST['gender']; $year = $_POST['year']; $_SESSION['n'] = $name; $_SESSION['g'] = $gender; $_SESSION['y'] = $year; $computerclass = array("CS 112", "CS 212", "CS 310", "CS 311", "CS 440", "CS 480"); $mathclass = array("Math 135", "Math 136", "Math 171", "Math 172", "Math 271"); print "Computer Classes:<BR>"; for($k = 0; $k<count($computerclass); $k++) print "<INPUT type=checkbox name=CS[] value=$k> $computerclass[$k]<BR>"; print "<P>Math Classes:<BR>"; for($j = 0; $j<count($mathclass); $j++) print "<INPUT type=checkbox name=Math[] value=$j>$mathclass[$j]<BR>"; ?> <P> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> </FORM> </CENTER>