Confirmation Page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
EJacobowitz
Forum Newbie
Posts: 1
Joined: Thu Nov 04, 2010 8:24 am

Confirmation Page

Post by EJacobowitz »

Hello all,
Im making a Quote Request Form for my dads company. So first they have the actual form then they click submit and it going to a confirmation page so they can review their information, at the confirmation page i want the end user to be able to click confirm and it sends the form to my e-mail. and if they made a mistake to be able to click button saying go back and they just change the information. I tried to set it up that way but when i click submit, it says it submitted and i got the e-mail but none of the info was there, and the back button kept me on the confirmation page but erased all the data.
m_adeel
Forum Newbie
Posts: 4
Joined: Thu Nov 04, 2010 9:05 am

Re: Confirmation Page

Post by m_adeel »

first set on form page
on the top
$uname=array_key_exists('uname',$_REQUEST)?$_REQUEST['uname']:"";

in the form
<input type="text" name="somename" value="<?=$uname?>">

then send this data on second/confirmation page where two button are there one is confirmed(submit) and back button also define hidden controls to get previous form data when you click on submit then hidden field data is send
Post Reply