You are here: Re: Keeping form elements in place after redirect « HTML « IT news, forums, messages
Re: Keeping form elements in place after redirect

Posted by Adrienne Boswell on 11/22/07 15:32

Gazing into my crystal ball I observed Chris <matchett123
@googlemail.com> writing in news:d195e1c1-60d0-426f-8b7c-e56c0f6b4881
@c30g2000hsa.googlegroups.com:

> I have a form that is processed by a php page and then redirected by
> the same php page back to the form page again.
>
> After the page has redirected back it clears the data entered in the
> form's textfield and combo selections. Is there a simple way of
> mainting the user's text/selections after the form has been
> redirected?
>
> Cheers,
>
> Chris

Is the form posting to itself? If it is, you _should_ have those values
already available, and just show them. If not, then you are going to
have to put those values into a querystring or session variables, and
read them that way. A form posting to itself, and not _redirecting_ to
itself is a lot easier.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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