Re: how to send to URL on if statement?

From: Date: Fri, 18 Jan 2002 21:19:26 +0000
Subject: Re: how to send to URL on if statement?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-81153@lists.php.net to get a copy of this message
Sorry, I'm new at this... I have already sent output... any way to do this? Thanks again, Andrea "Ing. Daniel Manrique" <roadmr@entropia.com.mx> wrote in message news:Pine.LNX.4.33.0201181512400.20020-100000@utopia.entropia.com.mx... > > 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 (#81153) next »