Re: reload page

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: reload page
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11338@lists.php.net to get a copy of this message
I just needed a similar thing to occur in my app! Just reload the page using the header function: Once submit has been hit in one frame, pass a hidden value from Frame1 to frame2: <input type=\"hidden\" name=\"refresh\"> Then detect for it in the 2nd frame and refresh the page using the header() function: if (isset($refresh)) { header("Location: $PHP_SELF"); } HTH :-) Russ On Tue, 14 Aug 2001 10:54:59 -0400 Hugh Bothwell <hugh_bothwell@hotmail.com> wrote: > > "Schleipp" <schleipp@in.tum.de> wrote in message > news:3B78F1DC.C189100F@in.tum.de... > > Hi everybody, > > I have created a webpage with two frames. One of this frames is a form > > in which the user can change some data, which you can see in the other > > frame. I want the latter frame being updated as soon as I send the > form, > which is changing the data, i.e. a "reload" of the frame > containing the > changed data. However, I do not know how to realize > that with PHP. Does > anybody have a suggestion? > > <form action='evaluator.php' target='name_of_second_frame'> > ... </form> > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > #-------------------------------------------------------# "Believe nothing - consider everything" Russ Michell Anglia Polytechnic University Webteam e: r.j.michell@apu.ac.uk w: www.apu.ac.uk/webteam t: +44 (0)1223 363271 x 2331 www.theruss.com #-------------------------------------------------------#

« previous php.db (#11338) next »