ceanth Posted March 27, 2006 Share Posted March 27, 2006 Hi all, i have a form which collects information (page 1), i then want users to confirm information on the form (page 2) then finally add it to a database (page 3). If i use:<?php echo "Firstname: ".$_POST['cfname']; ?>then it gets displayed on the second page but the third page cannot see it. Does anyone know how i can store this information so it gets passed into the other pages? Quote Link to comment https://forums.phpfreaks.com/topic/5961-passing-information-over-two-pages/ Share on other sites More sharing options...
toplay Posted March 27, 2006 Share Posted March 27, 2006 Search these forums because this has been asked before.But real quick, here are your best choices:use hidden fields (only if the data is not sensitive)use cookies (only if the data is not sensitive)sessions (best option all the way around especially if you have sensitive info.)Check out various tutorials for each of those options. Quote Link to comment https://forums.phpfreaks.com/topic/5961-passing-information-over-two-pages/#findComment-21333 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.