Re: Refresh a page in another frame
| From: | Curt Zirzow | Date: | Wed, 30 Jul 2003 20:20:51 +0000 |
| Subject: | Re: Refresh a page in another frame | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157593@lists.php.net to get a copy of this message | ||
* Thus wrote Steve Fulleylove (fulles@globalnet.co.uk):
> 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 ?
negative. you'll have to use some javascipt to refresh a different
frame something like
echo "<body onload=\"parent.nameofframetoreload.location.href =
'$filetoload';\"">
javascript may not be correly syntaxed.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."