You are here: Re: Query on Reactivation « PHP Programming Language « IT news, forums, messages
Re: Query on Reactivation

Posted by Gordon Burditt on 05/20/06 22:42

>I have a short query if anyone can help me with it I will be gratefull.
>
>I have a php form, and have put the php code within the form itself. On
>activation the form calls itself:
>
><form action="Thisformitself.php">
>
></form>
>
>Problem is when I do this all the selections(eg list selections) the
>user has made are reset to null, and the form has no way of knowing
>what the user chose prior to pressing the submit button.

This is the way it is supposed to work. Page hits are independent
of each other.

If you want the information to carry over, the PHP page generating
the HTML needs to carry it over (e.g. take values from $_POST[] and
insert VALUE="..." in input HTML input elements, put SELECTED in
the appropriate location in list selections, etc.)

Gordon L. Burditt

 

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

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