Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
- header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
- header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
- header("Cache-Control: post-check=0, pre-check=0", false);
- header("Pragma: no-cache");
- ?>
- <html>
- <head>
- <title>XD</title>
- <script src="https://embed.selly.gg"></script>
- </head>
- <body>
- <form action="index.php" method="post">
- Name: <input type="text" name="name"><br>
- E-mail: <input type="text" name="email"><br>
- Date:<input type="text" name="email"><br>
- Hour:<input type="text" name="hour"><br> //In the hour if user types as 1 the button A appears
- <input type="submit">
- </form>
- <?php
- if($_POST["hour"]==1){
- echo '<button data-selly-product="288a2180">Button Text</button>';
- }
- elseif($_POST["hour"]==2){
- echo '<button data-selly-product="88e71e07">Button Text</button>';
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement