Results 1 to 4 of 4

Thread: Preview current Data before Save

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2006
    Posts
    30

    Preview current Data before Save

    hi..i have a question regarding with display data.I have an application form for user to fill up their details information.
    After user finish fill up all fields, user can view first the information before hit save button.
    Please let me know how to do that.How can i preview that information...
    Thanks in advance

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Preview current Data before Save

    before you save the data have it print the variables in a nicely formated page which will have edit, accept, or cancel. If you ever ordered something on amazon.com it be the screen before you accept to pay for the item.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Preview current Data before Save

    Use session variables.

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Preview current Data before Save

    Have a page where they input data on a form.

    Have a confirm page with the code:

    PHP Code:
    <?PHP
    echo "Your Name: ".$_POST['input_name']."<br>";
    echo 
    "Your Phone Number: ".$_POST['input_phone']."<br>";
    echo 
    "...";
    //And So On....
    ?>
    <!--Then a Hidden Form:-->
    <form action='next_page.php' method=POST>
    <input name="name" value="<?=$_POST['input_name']?>">
    <input name="phone" value="<?=$_POST['input_phone']?>">
    <input type=submit value='Confirm'>
    On your next_page.php have it input it into the db or whatever you want with it.
    My usual boring signature: Something

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width