robert_gsfame Posted November 23, 2010 Share Posted November 23, 2010 I have 2 frames and let say i have run certain script on frame1 and it redirect me to other page (execute script) and back again to frame1. What i want to ask is how can i refresh the other frame which is frame 2 once header() has been executed. Thx.. Link to comment https://forums.phpfreaks.com/topic/219589-refresh-frame-once-header/ Share on other sites More sharing options...
MrXHellboy Posted November 23, 2010 Share Posted November 23, 2010 So for my understanding ? Page 1 form.... Page 2 -> handler.... After handler has been done, you want to go to page 1 again ? In that case... You can put header('Location: http://www.example.com/'); @ the bottom Link to comment https://forums.phpfreaks.com/topic/219589-refresh-frame-once-header/#findComment-1138482 Share on other sites More sharing options...
robert_gsfame Posted November 23, 2010 Author Share Posted November 23, 2010 nope...i have 2 frames. frame1 = assume page1.php frame2= assume page2.php i run a script so that frame2 will do like page2.php =>page3.php=>page2.php during the process of redirection using header() i wish to refresh page1.php which is in frame1 Link to comment https://forums.phpfreaks.com/topic/219589-refresh-frame-once-header/#findComment-1138486 Share on other sites More sharing options...
BlueSkyIS Posted November 23, 2010 Share Posted November 23, 2010 you'll need to javascript in some way, if it is possible for a script in one frame to refresh the content of another frame. or use ajax in each frame to keep tabs on what is going on in the other frame. Link to comment https://forums.phpfreaks.com/topic/219589-refresh-frame-once-header/#findComment-1138509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.