Advertisement
Echo89

Forked.

May 3rd, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. error_reporting(E_ALL ^ E_NOTICE);
  3. if (isset($_POST['submit_button']))
  4. {
  5.     echo "<p>Welcome<strong> ".$_POST["user"]."</strong></p><br/><br/>";
  6.     echo "<i>".$_POST["message"]."</i>";
  7. }
  8. ?>
  9.  
  10. <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST">
  11. <p>Name:</p>
  12. <input type="text" name="user" placeholder="Name">
  13. <br/><br/>
  14. <p>Message</p>
  15. <textarea name="message" rows="5" cols="45"></textarea>
  16. <input type="submit" name="submit_button" value="SEND THIS THINGY"/>
  17. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement