You are here: Re: $_POST array clears out « All PHP « IT news, forums, messages
Re: $_POST array clears out

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация