Jump to content


Photo

Passing information over two pages


  • Please log in to reply
1 reply to this topic

#1 ceanth

ceanth
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 27 March 2006 - 08:46 PM

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?

#2 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 27 March 2006 - 09:02 PM

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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users