On Monday 29 April 2002 09:27, Kim Kohen wrote: > Hi all, > > I'm using PHP to retrieve data from a form and pass it to a 'confirm' page. > > Here the data is echoed and the user presses a 'confirm' button to finally > mail the information to us. This page is a basic html page (confirm.html) > with some inline php which displays the relevant information. At the bottom > there is a form 'confirm' button which has the action set to 'confirm.php' > > Confirm.php simply emails the data. > > The problem is that the variables are not getting passed to the > confirm.php page - presumedly because they are not part of a valid form > (confirm.html contains no form fields, just the 'confirm' button) > > I know the variables are all valid as I can echo them fine on the > confirm.html page - I just don't know how to pass them onto the new page > when they're not part of a form.
Either store them in a session, or /make/ them a part of a form. That is, store your variables as hidden elements. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Honi soit qui mal y pense. [Evil to him who evil thinks.] -- Motto of the Order of the Garter (est. Edward III) */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php