paulman888888 Posted May 26, 2008 Share Posted May 26, 2008 Hi. I have made a form thats submits via Post. The problem is that i have a comfirm page but how do i get the post data to go to the next page? Page1 ---- Page 2 ---- Page3 Form ----- Comfirm ---- The action scipts -Ok -------- Ok ------- Stuck trying to get the data from the page and second to this page. How do i make the data from the first page go to the second and the thrid? Thankyou. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted May 26, 2008 Share Posted May 26, 2008 i would use sessions to store the information. http://www.tizag.com/phpT/phpsessions.php alternatively, you might use hidden form fields. Quote Link to comment Share on other sites More sharing options...
paulman888888 Posted May 26, 2008 Author Share Posted May 26, 2008 I like th idea. This is what it is? <form name="form1" method="post" action="comfirm.php"> Do i have to change my form? Quote Link to comment Share on other sites More sharing options...
Gighalen Posted May 26, 2008 Share Posted May 26, 2008 You can use the $_POST method to retrieve values from a submitted form. So if you have a variable name $subject on your confirm page, you can retrieve them on your action page by doing $subject = $_POST['subject']; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.