how to values till the end of the registration

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
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

how to values till the end of the registration

Post by djdon11 »

Hello firends
i have a registration process on my site
which gets complets in 3 steps that means i have three pages for registration first two pages has the button continue till the last page.
now i have to insert all the data at the last page of the process,
so can anyone gives me any idea how can i get all the values form the previous pages and can insert all the values from the last page ?

Thanks in advance
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: how to values till the end of the registration

Post by requinix »

Two ways you can do what you need:

- After the first page, save whatever information you have right now. Mark it as "inactive" or something.
- After the second page, update it with the additional information.
- When it's done, update and mark it as "active" again.

Or for what you specifically asked for, you can put all the registration information into a session. There are some examples of how use $_SESSION.
Post Reply