md7dani Posted November 18, 2009 Share Posted November 18, 2009 Hi first post here , Need som help with a problem. I Want to refresh a page 1 time from another page. I have members.php from where I want to refresh topframe.php. This will do the job but can't get it to work: echo '<meta http-equiv=Refresh content="0;url=topframe.php?reload=1">'; Then I need to fetch the variable reload with if(!isset($_GET['reload'])) {... I've tried to put the code echo '<meta http.... in members.php but then I get a refresh on the page a miljon times . Where do I put this code to make it work? Link to comment https://forums.phpfreaks.com/topic/182057-how-to-refresh-a-web-page-1-time/ Share on other sites More sharing options...
smerny Posted November 18, 2009 Share Posted November 18, 2009 you saying you tried this? if(!isset($_GET['reload'])) { echo '<meta http-equiv=Refresh content="0;url=topframe.php?reload=1">'; } Link to comment https://forums.phpfreaks.com/topic/182057-how-to-refresh-a-web-page-1-time/#findComment-960349 Share on other sites More sharing options...
md7dani Posted November 18, 2009 Author Share Posted November 18, 2009 you saying you tried this? if(!isset($_GET['reload'])) { echo '<meta http-equiv=Refresh content="0;url=topframe.php?reload=1">'; } think I need to target the code. Now it reloads the page topframe.php in its own frame, not so good . topframe.php is in mainFrame1 and members.php is in rightFrame. How do I insert 'target="mainFrame1"' in the meta tag?? Then it should work I think. Link to comment https://forums.phpfreaks.com/topic/182057-how-to-refresh-a-web-page-1-time/#findComment-960390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.