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" />