Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="post" action="save.php">
- <label>Podaj adres e-mail
- <input type="email" name="email"
- <?=
- isset($_SESSION['given_email']) ?
- 'value="'.$_SESSION['given_email']. '"' : ''
- ?>>
- </label>
- <input type="submit" value="Zapisz się!">
- <?php
- if (isset($_SESSION['given_email'])) {
- echo '<p> To nie jest poprawny adres!</p>';
- unset($_SESSION['given_email']);
- }?>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment