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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to