From: Martin Marques <martin@xxxxxxxxxxxxxxx>
Stut wrote:
Wagner Garcia Campagner wrote:
<META HTTP-EQUIV='refresh' content='0;URL=index.php'>
header('Location: index.php');
Although technically speaking that should be an absolute URL.
AFAIK, they are both equivalent.
Ahhh, if the OP meant, "Load a different page after doing some form
processing in the current PHP page", then just go with the PHP "header"
function. The HTML META HTTP-EQUIV='refresh' would require the HTML be
rendered first. The PHP "header" would be slightly faster, and you are
already in the PHP script.
I'm like, "How is the page becoming outdated? You are not still on that
page -- it's gone. The next page display will gather the latest info."
_________________________________________________________________
A new home for Mom, no cleanup required. All starts here.
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php