Article View: alt.comp.lang.php
Article #49Re: When going back, fields of my form are resetted
From: ikaze
Date: Thu, 27 Dec 2001 12:52
Date: Thu, 27 Dec 2001 12:52
50 lines
2879 bytes
2879 bytes
Yes, of course, it's possible. php doesn't use cache memory, so it' recalls the php-page as a new page. So, you have 2 solutions : 1) use this page like as a HTML page. with ext (.html) 2) you must before save datas filled in fields of the from page, by a submit, with a click button or with an onclick(); which calls a javascript to submit datas before coming back. And when you come back to the previous page, you could do a query in your database. and you could fill in the form page. -- @+ Email : ikaze@free.fr Site : http://ikaze.free.fr/index.html Site : http://www.ikaze.free.fr/index.html (Portail de galeries d'Arts, ordinateurs, i-News,FAQ, PHP, Flash, Forum, Chat...) (Gate of galleries of Arts, computers, e-News, FAQ, PHP, Flash, NewsGroup, Chat ...) Seb Delcampe [D*] <seb@delcampe.com> a οΏ½crit dans le message : a0eogg$1rfn$1@rivage.news.be.easynet.net... > Hello, > > Here is my problem. > > On a php-page, there is a form. When it is submitted to another php-page, I > can not use my navigator to go back. If I do it, fields of my form are > resetted. I would like to have them filled with the informations I > previously entered. > > I think it is possible as I've seen it on many websites. > > Can you please explain me why it happens and what I can do ? > > Thanks, Seb Delcampe ( http://www.delcampe.com ) > > // CodeWhenIDoASearch: sdelcampe_question > > >
Technical Details
Message-ID:
<3c2b17d5$0$3178$626a54ce@news.free.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!netnews.com!fr.clara.net!heighliner.fr.clara.net!nerim.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mailReferences:
<a0eogg$1rfn$1@rivage.news.be.easynet.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1156bd,f61257729136caba X-Google-Attributes: gid1156bd,public X-Google-Thread: 104359,f61257729136caba X-Google-Attributes: gid104359,public X-Google-Thread: f9981,f61257729136caba X-Google-Attributes: gidf9981,public X-Google-Thread: 1107bb,f61257729136caba X-Google-Attributes: gid1107bb,public X-Google-Thread: 1148a8,f61257729136caba X-Google-Attributes: gid1148a8,public X-Google-ArrivalTime: 2001-12-27 04:45:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!netnews.com!fr.clara.net!heighliner.fr.clara.net!nerim.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail From: "ikaze" <ikaze@free.fr> Newsgroups: alt.comp.lang.php,alt.php,alt.php.sql,cz.comp.lang.php,fr.comp.infosystemes.www.auteurs.php References: <a0eogg$1rfn$1@rivage.news.be.easynet.net> Subject: Re: When going back, fields of my form are resetted Date: Thu, 27 Dec 2001 13:52:21 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Lines: 52 Message-ID: <3c2b17d5$0$3178$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 27 Dec 2001 13:45:09 MET NNTP-Posting-Host: 212.232.35.32 X-Trace: 1009457109 news2-1.free.fr 3178 212.232.35.32 X-Complaints-To: abuse@proxad.net