how to pass data from one form to another in php
  • how can i pass value from one form to next form in php.
  • 2 Comments sorted by
  • Vote Up0Vote Down Jaguar777Jaguar777
    51.00 Karma Accepted Answer
    use $_REQUEST function
    Example below

  • Vote Up0Vote Down farazfaraz
    10.00 Karma Accepted Answer
    use below code.



    <form action="form2.php" method="post">
    Write Value for pass to form2: <input type="text"

    name="txt_data" />
    <input type="submit" value="Go to form2" />



    You entered value in form1 is: <?php

    echo $_REQUEST ["txt_data"]; ?>!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook


Popular Posts of the Week

    Optimum Creative