Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_GET['error']) == "weightError") {
- echo "Nurodytas klaidingas svoris.";
- } else if(isset($_GET['error']) == "heightError") {
- echo "Nurodytas klaidingas ūgis.";
- }
- ?>
- <form action="calculate.php" method="POST">
- <label for="personWeight">Svoris</label>
- <input type="text" name="personWeight">
- <label for="password">Ūgis</label>
- <input type="text" name="personHeight">
- <button type="submit" name="submitForm">Toliau</button>
- </form>
Add Comment
Please, Sign In to add comment