Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Html>
- <head>
- <meta charset="utf-8"/>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <?php
- ?>
- <div class="baner">
- <a href="index.html"> <img src="baner.jpg"/> </a>
- </div>
- <div class="box">
- <div class="pot">
- <h1>Potęgowanie</h1>
- <form method="post" action="pot.php">
- <input type="text" name="liczba1" />
- <input type="text" name="liczba2" />
- <input type="submit" name="licz" />
- </form>
- </div>
- </div>
- <?php
- $liczba1 = $_POST['liczba1'];
- $liczba2 = $_POST['liczba2'];
- $wynik = pow($liczba1,$liczba2);
- echo $wynik;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement