Re: Redirect

From: Date: Thu, 03 Apr 2003 14:09:12 +0000
Subject: Re: Redirect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142133@lists.php.net to get a copy of this message
> From: "shaun" <shaun@mania.plus.com> > > How would one redirect a user to a different page if a certain condition was > met? > > i.e. > > if($condition == true){ > goTo newPage.php > } Redirects are done using the header() function. See the documentation at <http://www.php.net/manual/en/function.header.php>. -- Lowell Allen

« previous php.general (#142133) next »