Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>Formulasz</title>
- <style>
- form {margin:auto;
- width:50%;
- text-align: center;}
- input {padding:.5rem; margin:1rem;}
- </style>
- </head>
- <body>
- <?php
- if(!isset($_GET['lll']))
- {
- print('<form method="get" action="'.$_SERVER['PHP_SELF'].'">');
- print('<fieldset>');
- print('<legend>Wybierz z listy liczbę liczb losowych z przedziału od 17 do 122:</legend>');
- print('<select name="lll">');
- print('<option value="opis" selected="selected"> Wybierz liczbę liczb losowych z listy</option>');
- print('option value="5">5</option>');
- print('option value="10">10</option>');
- print('option value="15">15</option>');
- print('</select>');
- print('</fieldset>');
- print('<input type="submit" value="WYŚLIJ">'.' ');
- print('<input type="reset" value="WYCZYŚĆ">');
- print('</form>');
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement