Jump to content

meta refresh doesn't seem to work


chiefrokka

Recommended Posts

I'm echoing the time so I should see the time change every 10 seconds (just testing) but nothing seems to refresh. 

 

I have php code at beginning of document though so not sure if that's why this won't work?  Here's my code:

 

<?php
session_start();
require_once('config.php'); 
require_once('Functions.php'); 

if (isset($_SESSION['LoggedIn'])) 
{	
    //  do some stuff
    //  grab variables from database
}
?>

<html>
<head>

<meta http-equiv="refresh" content="10" />
<title>test</title>

<style type="text/css">
<!--
body {
background-image: url();
background-repeat: repeat;
}
.style42 {
color: #0066CC;
font-weight: bold;
}
.style44 {color: #990000}
.style45 {
color: #990000;
font-weight: bold;
}
.style46 {color: #0066CC}
.style47 {font-size: 10px}
-->
</style>
</head>
<body>

 

 

Link to comment
https://forums.phpfreaks.com/topic/91392-meta-refresh-doesnt-seem-to-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.