Re: Load 2 Frames (possibly OT)

From: Date: Mon, 14 Jun 2004 19:41:24 +0000
Subject: Re: Load 2 Frames (possibly OT)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188268@lists.php.net to get a copy of this message
"Robert Sossomon" <robert@gcnorris.com> wrote in message news:002c01c45248$0d229670$6601010a@root2... > I need to load 2 frames from within PHP, I just don't know how to do it. > > I have tried header calls, I've tried echoing out the javascript > command, but I need a way to load the pages at one time. > > Layout: > add > List > see > > You use list to add information, when things are added in add they call > another script to process the add. At the end of the add is when I need > see to be loaded. > > I am pretty sure it is going to have to be a javascript, but even that I > haven't found the code for yet. > > Any thoughts? > > My current code is: > header("<script language=\"javascript\">parent.C.location.href = > \"show.html\";</script>"); > header("<script language=\"javascript\">parent.B.location.href = > \"custn.html\";</script>"); Just echo out your JS: echo '<script language="javascript">parent.C.location.href = "show.html";</script>'; Regards, Torsten Roehr

« previous php.general (#188268) next »