Re: [PHP] reposting data into forms after confirmation screen
Alternately, you could place code similar to this in your first form. echo "" When you first access this form it would output: And when returning, assuming that your edit button is on a form posting the data: > You could save all of the form data in session variables, when they > click edit re-populate the form fields with the session data. > "Artoo" <[EMAIL PROTECTED]> 07/07/03 04:00PM >>> > Anyone know where I can view some sample code that does the following? > > When the user clicks on SUBMIT, they are taken to a confirmation > screen > which they can click an EDIT button or SUBMIT button. If they click on > the > EDIT button they are taken back to the first form. How do you repost > the > data the user entered into the first form, as I get a empty form when > I > click on EDIT? > > Thanks > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Thanks, Dean E. Weimer http://www.dwiemer.org/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] reposting data into forms after confirmation screen
You could save all of the form data in session variables, when they click edit re-populate the form fields with the session data. >>> "Artoo" <[EMAIL PROTECTED]> 07/07/03 04:00PM >>> Anyone know where I can view some sample code that does the following? When the user clicks on SUBMIT, they are taken to a confirmation screen which they can click an EDIT button or SUBMIT button. If they click on the EDIT button they are taken back to the first form. How do you repost the data the user entered into the first form, as I get a empty form when I click on EDIT? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] reposting data into forms after confirmation screen
Anyone know where I can view some sample code that does the following? When the user clicks on SUBMIT, they are taken to a confirmation screen which they can click an EDIT button or SUBMIT button. If they click on the EDIT button they are taken back to the first form. How do you repost the data the user entered into the first form, as I get a empty form when I click on EDIT? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php