Page 1 of 1

refreshing frame with php

Posted: Tue Jan 17, 2012 2:36 pm
by stribor
I have page that contains 3 frames.(each frame different html or php file)
In 3rd frame i have html form that i process.
After I process form in 3rd frame I would like to refresh frames 1 and 2.
I tried

Code: Select all

header("refresh:1;url=pagewithFRame1.html");
but this keeps splitting 3rd frame into another frame.

Re: refreshing frame with php

Posted: Tue Jan 17, 2012 6:48 pm
by Christopher
You can do this with javascript in the for frame by setting parent.frame_name.location.href="http://mysite.com/pagewithFRame1.html"