/    Sign up×
Community /Pin to ProfileBookmark

retrieving php values from another page

Hi

Have a slight problem here, i have an application form where the user types in the particulars for and when he submits the form will direct it to a confirm page where the values are retrieved thru $_REQUEST and displayed for the user’s confirmation. Once the user confirms the application, the values are supposedly sent to another page where it is added to the database.
My problem here would be: how can it be possible to retieve the values again to the 3rd page now that they are php variables?

Regards
Eugene

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@hastxAug 13.2007 — There are a number of ways to do it.
[LIST]
  • [*]You have already harvested the data, so you could pre-populate a second form on ON the confirmation page with it ...then that form gets posted to the processing script.

  • [*]Pass the data to hidden inputs on the confirmation page.

  • [*]Write the data to a database and retrieve it later.

  • [/LIST]


    I think I remember a post about this type of thing using sessions too, I'll see if I can find it.
    Copy linkTweet thisAlerts:
    @EugeneauthorAug 13.2007 — Ok i got you, but how do u define the variables in the hidden field,

    [code=html]<input name="start" type="hidden" value="<?php echo $_REQUEST[datestart]; ?>">[/code]

    i tried this but it doesnt work
    ×

    Success!

    Help @Eugene spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.15,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...