Re: how can I call a link? ??

From: Date: Thu, 05 Jul 2001 19:30:30 +0000
Subject: Re: how can I call a link? ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56367@lists.php.net to get a copy of this message
Use javascript. Have that first page return HTML that contains javascript along the following: <html> <script> top.leftframe.document.href = 'http://serverview_cart.php?add=4ffqe45'; top.rightframe.document.href = 'http://server/pdf/ex1.pdf'; </script> </html> You'll need to change the "top.leftframe" (etc) to match your frame setup, but it works just fine. -philip On Thu, 5 Jul 2001, Shrout, Ryan wrote: > I don't really no how to word this. How can I use a single PHP to update > two sides of a framed page? > > like a call to: add.php?add=4ffqe45&manual=123.33&fn=ex1 > > I want it to update the left frame with a call to: > > http://serverview_cart.php?add=4ffqe45 > > and I want it to update the right frame with a call to: > > http://server/pdf/ex1.pdf > > The only page updating/refreshing/goto'ing I know of in PHP is the header ( > Location: ) command, but that only does a single page and must be in the > header (obviously). > > What can I do? > > Ryan Shrout > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#56367) next »