Server IP : 172.16.15.8 / Your IP : 18.119.105.155 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/vnlaughlin/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="assign4.css"> </head> <FONT color=blue size=4> Tuna Cafe Survey </FONT> <HR> <FORM action=check2.php method=post> <?php $menu = array("Tuna Casserole", "Tuna Sandwich", "Tuna Pie", "Grilled Tuna", "Tuna Surprise"); $service = array("a. The marvelous food preparation.", "b. The affordable prices.", "c. The speedy services.", "d. Just like tuna.", "e. None of the above."); $bs = 2; print "<FONT color=blue size=4>"; print "Please indicate your favorite - <BR>"; print "</FONT>"; print "<FONT size=4>"; 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>"; } print "</FONT>"; print "<FONT color=blue size=4>"; print "<br>What did you like about your service? <BR>"; print "</FONT>"; print "<FONT size=4>"; for($k=0; $k<count($service); $k++) { print "<INPUT TYPE=checkbox name=serv[] value=$k> $service[$k]<br>"; } ?> <p> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> </FORM> </FONT> </HTML>