Server IP : 172.16.15.8 / Your IP : 18.118.146.180 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/wcdavis/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- p.90 Using the array for form --> <FONT color=blue size=4> Tuna Cafe Survey <HR> <FORM action=action7.php method=post> <?php $menu = array("Tuna Casserole", "Tuna Sandwich", "Tuna Pie", "Grilled Tuna", "Tuna Surprise"); $bs = 2; print "Indicate your favorite - <BR>"; for($i=0; $i<count ($menu); $i++) { //form checkbox, see p.32-33 print "<INPUT type=checkbox name=prefer[] value=$i>$menu[$i]"; if($i == $bs) print "<B> <FONT color=red> Our Best Seller!!!</FONT></B>"; print "<BR>"; } ?> <P> <P> <INPUT type=submit value=Submit> <INPUT type=reset value=Reset> </FORM> </FONT> <HR> <i> <?php include("date.php");?> </i>