<Original message>
From: Rosen <[EMAIL PROTECTED]>
Date: Tue, Aug 28, 2001 at 05:03:50PM +0300
Message-ID: <[EMAIL PROTECTED]>
Subject: Re: [PHP] Refresh Main frame

> Can I send params to main frame ?
> 
> Thanks,
> Rosen

</Original message>

<Reply>

Well... yes, you can. You'll have to use a different kind of
construction though:

<SCRIPT type="text/javascript">
  window.parent.<name-of-mainframe>.location.href = 
"<URL-of-mainpage>?<params-as-you-know>";
</SCRIPT>

Depending on the construction as you use it in your PHP, you can do
it in a better way. If you want to refresh the mainframe after eg
submitting a form in a subframe you can just use the reload-thing as
I sent earlier and then use sessions. Then you don't need to send
params over the URL.
But like I say... that totaly depends on the construction as you use
it.

</Reply>

-- 

* R&zE:


-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««

-- 
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