Re: Re: reload page

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Re: reload page
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11340@lists.php.net to get a copy of this message
> I don't see what this gains you. Well you asked if there was a way to refresh your target frame once a submission was made from an origin frame. This method would do that. Then again, why does the second frame not already display the results of the submission?? As it get's called from the first (origin) frame. Maybe you should re-state your problem and indicate use of DB's in there too, as I may easily have got the wrong end of someone else's stick. Cheers. Russ On Tue, 14 Aug 2001 11:09:28 -0400 Hugh Bothwell <hugh_bothwell@hotmail.com> wrote: > "Russ Michell" <r.j.michell@apu.ac.uk> wrote in message > news:SIMEON.10108141609.F@k1c. anglia.ac.uk... > > 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"); > > } > > That seems like an (umm...) *unusual* method... > > When the form is submitted, it calls the target > page - which then calls itself again? > > I don't see what this gains you. > > > > -- > 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 (#11340) next »