Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL ^ E_NOTICE);
- if (isset($_POST['submit_button']))
- {
- echo "<p>Welcome<strong> ".$_POST["user"]."</strong></p><br/><br/>";
- echo "<i>".$_POST["message"]."</i>";
- }
- ?>
- <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST">
- <p>Name:</p>
- <input type="text" name="user" placeholder="Name">
- <br/><br/>
- <p>Message</p>
- <textarea name="message" rows="5" cols="45"></textarea>
- <input type="submit" name="submit_button" value="SEND THIS THINGY"/>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement