Silviyaa

zad_3.php

Apr 1st, 2021
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.60 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <meta charset="UTF-8">
  4.         <title></title>
  5.     <form method='POST' action="zad_33.php"></form>
  6. </head>
  7. <body style="background-color: antiquewhite">
  8.     <!--  <?php //include ("zad_33.php");     ?> -->
  9.     <h1 style="text-decoration:underline", style="text-align:cener"><i><b><p style='color: blue'>Pleas enter your information:</p></b></i></h1>
  10.     <p style='color:  darkslateblue'> <i> City:</p><input type="text" name="city"></i>
  11. <p style='color: darkslateblue'> <i> Month:</p><input type="text" name="month"></i>
  12. <p style='color: darkslateblue'> <i> Year:</p><input type="text" name="year"></i>
  13. <?php // $inputLocal = array (city,) ?>
  14. <br><br>
  15. <p style="color: crimson ">
  16.     Pleas choose the kinds of weather you experienced from the list below.<br>
  17.     Choose all that apply.<br></p>
  18. <?php
  19. //$weather = array("Sunchine", "Clouds", "Rain", "Hail", "Sleet", "Snow", "Wind", "Cold", "Heat");
  20. ?>
  21. <input type="checkbox" name="weather[]" value="sunshine" />Sunshine<br />
  22. <input type="checkbox" name="weather[]" value="Clouds" />Clouds<br />
  23. <input type="checkbox" name="weather[]" value="Rain" />Rain<br />
  24. <input type="checkbox" name="weather[]" value="Hail" />Hail<br />
  25. <input type="checkbox" name="weather[]" value="Sleet" />Sleet<br />
  26. <input type="checkbox" name="weather[]" value="Snow" />Snow<br />
  27. <input type="checkbox" name="weather[]" value="Wind" />Wind<br />
  28. <input type="checkbox" name="weather[]" value="Cold" />Cold<br />
  29. <input type="checkbox" name="weather[]" value="Heat" />Heat<br /><br>
  30. <input type="submit" value="Go" name="Go" />
  31.  
  32. </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment