Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>Formulasz</title>
  9. <style>
  10. form {margin:auto;
  11. width:50%;
  12. text-align: center;}
  13.  
  14. input {padding:.5rem; margin:1rem;}
  15. </style>
  16.  
  17. </head>
  18. <body>
  19. <?php
  20. if(!isset($_GET['lll']))
  21. {
  22. print('<form method="get" action="'.$_SERVER['PHP_SELF'].'">');
  23. print('<fieldset>');
  24. print('<legend>Wybierz z listy liczbę liczb losowych z przedziału od 17 do 122:</legend>');
  25. print('<select name="lll">');
  26. print('<option value="opis" selected="selected"> Wybierz liczbę liczb losowych z listy</option>');
  27. print('option value="5">5</option>');
  28. print('option value="10">10</option>');
  29. print('option value="15">15</option>');
  30. print('</select>');
  31. print('</fieldset>');
  32. print('<input type="submit" value="WYŚLIJ">'.' ');
  33. print('<input type="reset" value="WYCZYŚĆ">');
  34. print('</form>');
  35.  
  36. }
  37. ?>
  38. </body>
  39. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement