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. Link to comment https://forums.phpfreaks.com/topic/107346-please-help-with-post/ 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. Link to comment https://forums.phpfreaks.com/topic/107346-please-help-with-post/#findComment-550373 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? Link to comment https://forums.phpfreaks.com/topic/107346-please-help-with-post/#findComment-550413 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']; Link to comment https://forums.phpfreaks.com/topic/107346-please-help-with-post/#findComment-550436 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.