header("Location: $url");
hope this helps.
-Jackson
On Thu, 2003-09-04 at 00:32, DougD wrote:
> I've seen this somewhere (or I've gone crazy), but a function in PHP that
> automatically forwards you to another web page. If want to do an 'if x=5
> then jump to this other page on the site or an e
if ($x == 5)
header('Location: http://blah.com/blah');
This what you were looking for?
Also make sure this is sent before any other output
Andrew
- Original Message -
From: "DougD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 6:32 AM
Subject: [PHP] a
2 matches
Mail list logo