|
Posted by kenoli on 02/08/07 06:54
On Feb 7, 1:39 pm, "daco...@gmail.com" <daco...@gmail.com> wrote:
> Hello,
>
> I'm trying to make a registration form formed of four steps using the
> same file. At each step I process the $_POST vars, I colect some more
> and move to the next step. The problem I have is that after second
> step the $_POST varialble (array) clears out. I know that because I
> print_r($_POST) array.
>
> What am I doing wrong?
>
> Thanks,
> -D
You can also save the values using a for each statement into a single
array and then pass that as a session variable, a get or a hidden
field which makes the process more manageable. Each round you can add
more data to the array using the form input names as keys. You can
then retrieve your data with a for each loop or key by key and put it
where you want it.
--Kenoli
Navigation:
[Reply to this message]
|