dannybrazil Posted March 31, 2008 Share Posted March 31, 2008 any one know why after im adding this meta tag : <metahttp-equiv="refresh"content="5"/> the page refresh it self every 5 sec NON stop? instead of only once just to refresh the contect 10x Quote Link to comment Share on other sites More sharing options...
sstangle73 Posted March 31, 2008 Share Posted March 31, 2008 thats HTML but thats what the tag does if i think about it it would be because every time it refreshes the page the meta tag is there again so it keeps doing it i guess you question is is there a way to refresh it once? if thats the case idk Quote Link to comment Share on other sites More sharing options...
dannybrazil Posted March 31, 2008 Author Share Posted March 31, 2008 hehehe thats true it will refresh and execute again how can i prevent it and make it refresh only ONCE ? Quote Link to comment Share on other sites More sharing options...
maxudaskin Posted March 31, 2008 Share Posted March 31, 2008 <?php if(!isset($_GET['refresh'])){ echo "<meta http-equiv=\"Refresh\" content=\"0;url=\"page.php?refresh=1\">"; } ?> Quote Link to comment Share on other sites More sharing options...
sstangle73 Posted March 31, 2008 Share Posted March 31, 2008 ooo thats smart haha=] Quote Link to comment Share on other sites More sharing options...
maxudaskin Posted March 31, 2008 Share Posted March 31, 2008 That is why I am gifted Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.