"Robert Sossomon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php