Re: Refresh a page in another frame

From: Date: Wed, 30 Jul 2003 20:11:04 +0000
Subject: Re: Refresh a page in another frame
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157592@lists.php.net to get a copy of this message
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

« previous php.general (#157592) next »