refreshing the page using php
Posted: Thu Apr 08, 2004 10:25 am
hi,
my website is using Flash headers which point to php pages, the only problem is that once the browser has loaded the pages once, it doesnt load them again, so any changes do not show up unless the page is refreshed. if i change my internet settings to "refresh on every visit to a page" then my website works fine.
ive tried using meta tags but i dont think im using them right, all pages are being displayed through my index.php which is below:
but that doesnt work, any ideas??
my website is using Flash headers which point to php pages, the only problem is that once the browser has loaded the pages once, it doesnt load them again, so any changes do not show up unless the page is refreshed. if i change my internet settings to "refresh on every visit to a page" then my website works fine.
ive tried using meta tags but i dont think im using them right, all pages are being displayed through my index.php which is below:
Code: Select all
<?php
include("header.php");
if ($page == "") {
$page = "main";
}
echo "<meta http-equiv='refresh' content='0;URL=index.php'>";
include("pages/".$page.".php");
include("footer.php");
mysql_close($db);
?>