On Tue, Aug 14, 2001 at 09:39:40AM +0000, schleipp wrote:
> Hi everybody,
> I have created a webpage with two frames. One of this frames is a form
> in which the user can change some data, which you can see in the other
> frame. I want the latter frame being updated as soon as I send the form,
> which is changing the data, i.e. a "reload" of the frame containing the
> changed data. However, I do not know how to realize that with PHP. Does
> anybody have a suggestion?
> Thanks
> Christian

Well Christian,

Noone can have a solution in PHP, because PHP is server-side. You
can, though, use JavaScript for it.

Let's say you have a frame_1 and frame_2. In frame_1 is the form one
submits and then frame_2 has to be reloaded. When one submits the
form in frame_1 he'll be sent to, let's say, submitted.php. In that
page you can output the next JavaScript:

<SCRIPT type="text/javascript">


* R&zE:

-- Renze Munnik
-- DataLink BV
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- http://www.datalink.nl

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