Re: Refresh a page in another frame
| From: | Steve Fulleylove | Date: | Thu, 31 Jul 2003 09:39:22 +0000 |
| Subject: | Re: Refresh a page in another frame | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157689@lists.php.net to get a copy of this message | ||
Thanks Mehdi,
Works a treat.
Steve
"Mehdi Achour" <didou@keliglia.com> wrote in message
news:3F282658.5080200@keliglia.com...
> Steve Fulleylove wrote:
>
> > Hi all,
> >
> > I have a PHP web site that uses frames. I can use the header() function
to
> > redirect the user to a new page, but can I use this function to load a
page
> > into a different frame ?
>
> header() (and PHP) won't make it, you need some javascript :
>
> <script>
> parent.name_of_the_frame.location = "url";
> </script>
>
> Mehdi
>