Re: how to send to URL on if statement?

From: Date: Fri, 18 Jan 2002 21:13:17 +0000
Subject: Re: how to send to URL on if statement?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81152@lists.php.net to get a copy of this message
> Can anyone advise or direct me to the documentation that references how to > send a user to a URL if an 'if' statement is satisfied? Assuming you hadn't sent any output before: if ($condition){ header("Location: http://wherever.com"); exit; }

« previous php.general (#81152) next »