Re: another easy question that is stumping me...

From: Date: Fri, 14 Dec 2001 14:44:16 +0000
Subject: Re: another easy question that is stumping me...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77745@lists.php.net to get a copy of this message
if ($x != "1") { header ("location: index.php"); } else { header ("location: cart.php?sid=$sid"); } --- "Ward, Mark" <WardMa@ott.nrc.ca> wrote: > Hello all, > > I've got another problem that is bothering me, yet I'm sure it should be > very easy to fix. > > Within my PHP script I want to redirect the user to another page depending > on the condition. If the user fails to meet the condition, I want to send > them back to the start page. If they do meet the condition I will allow them > to continue... I'm sure it's very simple. For some reason it's not coming to > me though. Any help is appreciated. > > Thanks, > Mark Ward > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > ===== dan mccullough -------------------------------------------------------- "Theres no such thing as a problem unless the servers are on fire!" __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com

« previous php.general (#77745) next »