You are here: Re: Form in 2 steps - Preserving button radio « PHP Programming Language « IT news, forums, messages
Re: Form in 2 steps - Preserving button radio

Posted by Arjen on 02/22/07 08:30

elia schreef:
> Hello. Yes, already ask but no answers for this little problem.
> I've got a form and 3 steps or page for the same form. If we come back
> to the first page, the states of button radio are lost.

> A solution could be with "session_start()" and $_cookie but I don't
> know how to do it!


One way to do it.

foreach ($_POST as $key=>$val)
{
echo '<input type = "hidden" name="'.htmlentities($key).'"
value="'.htmlentities($val).'" />';
}

--
Arjen
http://www.hondenpage.com - Mijn site over honden

 

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

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