Re: [PHP] auto 'jump' to link

2003-09-03 Thread Jackson Miller
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

Re: [PHP] auto 'jump' to link

2003-09-03 Thread Andrew Brampton
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