Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. if(isset($_POST['FirstName'])){//show data
  2. echo $_POST['FirstName'];
  3. }else{//show form
  4. echo '
  5. <form action="" method="post">
  6. First Name: <input type="text" name="FirstName" /><br />
  7. <input type="submit" />
  8. </form>
  9. ';
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement