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
how to values till the end of the registration
Moderator: General Moderators
Re: how to values till the end of the registration
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.
- 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.