You are here: Re: Form question (PHP newbie) « PHP Programming Language « IT news, forums, messages
Re: Form question (PHP newbie)

Posted by Kasper Johansen on 09/28/93 11:21

"Robertico" <Robertico@nospam.notvalid> skrev i en meddelelse
news:6cf27$42d8f928$513b49d4$2682@news.versatel.nl...
> But when an user goes back, the form is empty (alread filled fields are
> empty again).

You could use your "back-link" as a submit to another form, where you save
the posted information.

Something like this:

<form method="post" action="backlink.php">
<input type="hidden" name="yourname"
value="<?=htmlspecialchars($yourname);?>">
<input type="hidden" name="youremail"
value="<?=htmlspecialchars($youremail);?>">
<input type="submit" value="Go back">
</form>


At your first page, you can just add the write the values to your inputs.


--
Mvh Kasper Johansen

 

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

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