Advertisement
Guest User

Untitled

a guest
Dec 17th, 2013
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <form action="" method="post">
  2. <input type="text" id="address" name="address" placeholder="Enter your zip code" style="width:250px;" />
  3. <input type="submit" id="submit" value="Submit" />
  4. </form>
  5.  
  6. <?php
  7. $textboxValue = $_POST['address'];
  8. echo $textboxValue;
  9. ?>
  10.  
  11. <?php
  12. if(isset($_POST['submit'])){
  13. $textboxValue = $_POST['address'];
  14. echo $textboxValue;
  15. }
  16. ?>
  17.  
  18. <input type="submit" name="submit" id="submit" value="Submit" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement